🎉 Add node scripts based compile & watch alternative to gulp

This commit is contained in:
Andrey Antukh 2024-03-01 15:23:35 +01:00
parent 83ac6024a2
commit ec9d67ae1e
11 changed files with 895 additions and 24 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
export PATH=/usr/lib/jvm/openjdk/bin:/usr/local/nodejs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
export JAVA_OPTS="-Xmx900m -Xms50m"
export JAVA_OPTS="-Xmx1000m -Xms50m"
alias l='ls --color -GFlh'
alias rm='rm -r'

View file

@ -19,12 +19,12 @@ popd
tmux -2 new-session -d -s penpot
tmux rename-window -t penpot:0 'gulp'
tmux rename-window -t penpot:0 'frontend watch'
tmux select-window -t penpot:0
tmux send-keys -t penpot 'cd penpot/frontend' enter C-l
tmux send-keys -t penpot 'npx gulp watch' enter
tmux send-keys -t penpot 'yarn run watch' enter
tmux new-window -t penpot:1 -n 'shadow watch'
tmux new-window -t penpot:1 -n 'frontend shadow'
tmux select-window -t penpot:1
tmux send-keys -t penpot 'cd penpot/frontend' enter C-l
tmux send-keys -t penpot 'clojure -M:dev:shadow-cljs watch main' enter