Skip to content

Commit

Permalink
Start shadow in bb dev
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino committed Nov 1, 2023
1 parent 87e2174 commit 862cd04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
:task (shell {:std :inherit :err :inherit}
"yarn build")}

watch-cljs (shell "yarn run squint watch")
watch-cljs (shell "yarn watch")

squint:watch-cljs (shell "yarn run squint watch")

yarn-install:squint-dev (do
(shell "yarn add squint-cljs@link:../squint")
Expand All @@ -61,7 +63,7 @@
(fs/copy "squint-demo/index.mjs" "public/squint-cdn-demo/index.mjs" {:replace-existing true})
(fs/copy "squint-demo/index.html" "public/squint-cdn-demo/index.html" {:replace-existing true}))}

-dev {:depends [vite:dev watch-cljs]}
-dev {:depends [vite:dev squint:watch-cljs watch-cljs]}

dev {:doc "Compiles all cljs to mjs, runs vite in dev and starts a cherry watcher to recompile changed cljs. When run as `bb dev collab` also starts a Y.js collaboration server."
;; :depends [compile]
Expand Down

0 comments on commit 862cd04

Please sign in to comment.