lucky
lucky copied to clipboard
If using `lucky watch` directly, tell users to use `lucky dev`
https://gitter.im/luckyframework/Lobby?at=5d408aa5c356af25e0580790
It is unclear what the best option is here. Maybe we print a warning if using lucky watch without a specific flag? Maybe an ENV var is set?
The ENV var might be nice because if you prefer to use lucky watch in all your projects you can export it in your shell. SILENCE_LUCKY_WATCH_WARNING=true or something likethat
@jwoertink
TL;DR: Someone generated a lucky project and ran lucky watch. The assets never built, and caused issues.
Now, funny thing, I have to run lucky watch directly because my assets take so long to build that running lucky dev can cause issues. That's related to this issue.
I think outputting a warning that says "running lucky watch directly does not compile assets. .... " (but actually well written), then we can look for that env var to ignore that warning. That should be fine enough in this case.