20
scripts/dev.sh
Executable file
20
scripts/dev.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
tmux new-session -d -s dev
|
||||
|
||||
# allow for user input
|
||||
tmux split-window -h
|
||||
|
||||
# leptos
|
||||
tmux send-keys -t dev "cuddle_cli x leptos:dev" C-m
|
||||
|
||||
tmux split-window -v
|
||||
# tailwind
|
||||
tmux send-keys -t dev "cuddle_cli x tailwind:watch" C-m
|
||||
|
||||
# set user input to first
|
||||
tmux select-pane -t 0
|
||||
|
||||
|
||||
tmux attach-session -t dev
|
||||
|
3
scripts/leptos:dev.sh
Executable file
3
scripts/leptos:dev.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
cargo leptos watch
|
3
scripts/nodev.sh
Executable file
3
scripts/nodev.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
tmux kill-session -t dev || true
|
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
tailwind -i ./input.css -o ./style/output.css
|
||||
npx tailwindcss -i ./input.css -o ./style/output.css
|
||||
|
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
tailwind -i ./input.css -o ./style/output.css --watch
|
||||
npx tailwindcss -i ./input.css -o ./style/output.css --watch
|
||||
|
Reference in New Issue
Block a user