-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmuxinator.yml
48 lines (43 loc) · 1.54 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
45
46
47
48
name: AspNetReactViteTailwind
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:
- aspnet-server:
- printf '\033]2;%s\033\\' 'aspnet-server'
- cd src/AspNetReactViteTailwind
- kill -9 $(lsof -t -i tcp:5001)
- kill -9 $(lsof -t -i tcp:5000)
- dotnet watch run --no-restore
- vite-server:
- printf '\033]2;%s\033\\' 'vite-server'
- cd src/AspNetReactViteTailwind/ui
- yarn dev
- workspace:
- printf '\033]2;%s\033\\' 'app-workspace'
- cd src/AspNetReactViteTailwind
- clear
- frontend:
layout: even-vertical
panes:
- tailwind:
- printf '\033]2;%s\033\\' 'vite-build'
- cd src/AspNetReactViteTailwind
- npx tailwindcss -i ./wwwroot/css/input.css -o ./wwwroot/css/site.css --watch