-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom watcher #203
Comments
Is this If it is generated by running a tool you can just simply run
If you have some kind of make-ish setup that should be easy to integrate. Watching the json file itself would be a bit more involved but certainly doable. Is the "easy" way an option? |
json file is generated and modified by hand. The idea is too have a live reload feedback when updating translation files. |
How are you using |
You could use something like https://github.com/kimmobrunfeldt/chokidar-cli but I guess the goal is to have something running that starts with your build automatically. shadow-cljs does not yet have a proper plugin API since I can't figure out how that should look and what plugins should be allowed to do. |
Hey, chokidar actually is quite acceptable solution, as i can run it as npm script together with less preprocessor watch script. |
Hey,
I have a namespace
translation.cljs
which compiles translations from json files in public directory. I want to reload this namespace every time when json files are changed.Here taoensso/tower#70 is a solution for figwheel. Would it be possible to implement something similar in shadow-cljs?
Cheers
The text was updated successfully, but these errors were encountered: