generated from PDMLab/AspNetCoreMvcTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmuxinator.yml
44 lines (39 loc) · 1.34 KB
/
.tmuxinator.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: MyRazorPagesApp
root: ./
# Runs before everything. Use it to start daemons etc.
on_project_start:
- echo starting stack...
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: input
pre_window:
windows:
- workspace:
layout: even-vertical
panes:
- work:
- printf '\033]2;%s\033\\' 'workspace'
- clear
- app:
layout: even-vertical
panes:
- server:
- printf '\033]2;%s\033\\' 'app'
- cd src/AspNetCoreMvcHtmx
- kill -9 $(lsof -t -i tcp:5001)
- kill -9 $(lsof -t -i tcp:5000)
- dotnet watch run
- workspace:
- printf '\033]2;%s\033\\' 'app-workspace'
- cd src/AspNetCoreMvcHtmx
- clear
- frontend:
layout: even-vertical
panes:
- tailwind:
- printf '\033]2;%s\033\\' 'vite-build'
- cd src/AspNetCoreMvcHtmx
- npx tailwindcss -i ./wwwroot/css/input.css -o ./wwwroot/css/site.css --watch