-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zellij.kdl
32 lines (32 loc) · 1011 Bytes
/
.zellij.kdl
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
layout {
pane {
split_direction "vertical"
pane name="d-frame" borderless=true {
command "bash"
args "-ic" "nvm use > /dev/null 2>&1 && bash"
}
pane name="doc dev server" {
command "bash"
args "-ic" "nvm use > /dev/null 2>&1 && cd doc && npm run dev"
}
}
pane {
split_direction "vertical"
pane name="build ts" {
command "bash"
args "-ic" "nvm use > /dev/null 2>&1 && tsc -p tsconfig.json --watch"
}
pane name="build d-frame" {
command "bash"
args "-ic" "nvm use > /dev/null 2>&1 && vite -c vite.config.d-frame.js build --watch"
}
pane name="build d-frame-content" {
command "bash"
args "-ic" "nvm use > /dev/null 2>&1 && vite -c vite.config.d-frame-content.js build --watch"
}
}
pane size=1 borderless=true {
command "bash"
args "-ic" "echo -n -e \"Dev server available at \\e[1;96mhttp://localhost:3000\\033[0m\""
}
}