You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have SCSS files that are compiled to CSS and saved in the target/scssbuild directory. How do I make devtools watch this directory and hot-reload it too?
My shadow-cljs.edn so far is:
:devtools {:watch-dir "resources/public"
...}
resources/public contains files that are being tracked by git, and I would like to keep auto-generated files out of it.
The text was updated successfully, but these errors were encountered:
Barakat
changed the title
Watching multiple directories with devtools :watch-dir
Watching multiple directories with devtools :watch-dirApr 1, 2023
How is target/scssbuild accessible via web? :watch-dir only allows one option since it assumes there is only one http root. It doesn't need to watch anything else since it is only loading files from that http root?
I generally have my public dir in git as well, then just exclude public/js and public/css, so where all the generated files go.
I have SCSS files that are compiled to CSS and saved in the
target/scssbuild
directory. How do I make devtools watch this directory and hot-reload it too?My
shadow-cljs.edn
so far is:resources/public
contains files that are being tracked by git, and I would like to keep auto-generated files out of it.The text was updated successfully, but these errors were encountered: