luckyframework / lucky

A full-featured Crystal web framework that catches bugs for you, runs incredibly fast, and helps you write code that lasts.
https://luckyframework.org
MIT License
2.57k stars 156 forks source link

Lucky watch quits when first compile fails #1751

Open robacarp opened 1 year ago

robacarp commented 1 year ago

If I have a refactor going and the compile step is failing it's not uncommon for me to finish the day by just issuing ^c to the watch process. Then I come back later, and lucky watch will run the compile step once and quit rather than continuing on, watching for me to fix things and move forward. In the midst of a large refactor, I might have to manually boot the watcher 20 times before the compiler passes enough for it to continue.

zw963 commented 1 year ago

before the compiler passes enough for it to continue.

I consider this is reasonable.

But, lucky watch often broken and refuse to recompile crystal app when some error happen when do refactor, so, i have to fix code and Ctrl+C quit lucky dev, than restart it.