diff --git a/docker/devenv/files/start-tmux.sh b/docker/devenv/files/start-tmux.sh index ec6470ea21..b5198358af 100755 --- a/docker/devenv/files/start-tmux.sh +++ b/docker/devenv/files/start-tmux.sh @@ -26,7 +26,7 @@ tmux send-keys -t penpot 'yarn run watch' enter 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 +tmux send-keys -t penpot 'yarn run watch:app' enter tmux new-window -t penpot:2 -n 'exporter' tmux select-window -t penpot:2 diff --git a/frontend/package.json b/frontend/package.json index 4d5a2cf3f1..1c2651729e 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -37,6 +37,7 @@ "translations": "node ./scripts/translations.js", "build:app:libs": "esbuild --bundle --outfile=resources/public/js/libs.js --format=iife target/index.js --minify", "watch:app:libs": "esbuild --bundle --outfile=resources/public/js/libs.js --format=iife target/index.js --watch", + "watch:app": "concurrently \"clojure -M:dev:shadow-cljs watch main worker\" \"yarn run watch:app:libs\"", "watch": "yarn run watch:app:assets", "watch:app:assets": "node ./scripts/watch.js", "watch:storybook": "concurrently \"clojure -M:dev:shadow-cljs watch storybook\" \"storybook dev -p 6006 --no-open\" \"yarn run watch:storybook:assets\"",