Brunch watch is not detecting code changes
See original GitHub issueAfter using brunch for almost a year, the brunch watch
function suddenly stopped detecting my file changes today. If I run brunch watch
, I get the normal info: compiled X files...
message without errors, but after updating one of the files, nothing happens. If I stop brunch watch and then run it again, the changes I made before are compiled fine.
My setup:
- I run VirtualBox on a Windows host machine with help of Vagrant
- I use brunch 1.7.18 on Ubuntu 12.04.5
I’ve tried to update all NPM dependencies, and also reloaded and even rebuilt my vagrant box. Nothing seems to work.
How can I debug this issue?
Issue Analytics
- State:
- Created 9 years ago
- Comments:48 (22 by maintainers)
Top Results From Across the Web
9 reasons Why Your QR Code is Not Working - Beaconstac blog
If the QR Code is still not working, try scanning it via an external QR Code scanner or update your operating system to...
Read more >How to prevent caching on brunch watch -s - Stack Overflow
I tested this by making small changes to only the contact.hbs file. Why is it that the server sometimes rebuilds and sometimes not?...
Read more >Kellogg's changes cereal boxes to help blind, low-vision ...
For use with NaviLens code and app, Kellogg's products will be ... to help blind and low-vision adults as they shop for breakfast...
Read more >Sister Wives - S13 E3 Kody Wants Out - TLC GO
The bed and breakfast opens, and Kody drops a hint of some major changes. ... please visit https://gohelp.discovery.com/. ERROR CODE: LOAD_FAILED.
Read more >Winston-Salem City Council passes brunch bill - Spectrum News
Roy Cooper signed House Bill 155 allowing local governments to decide whether or not to adopt the change. "It's just better.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is no “real issue”. This is a limitation of the OS.
usePolling
is the proper solution.If https://github.com/paulmillr/chokidar/issues/242 ever gets resolved it will make this situation easier by automating the proper settings by default. But it isn’t an easy straightforward thing to do.
Having this exact same issue with brunch 2.4.2. No changes are ever detected even to the brunch.config.coffee and usePolling: true doesn’t do anything. 1.7.19 works for me. 1.8.5 logs the change events when using
brunch w -d
but doesn’t recompile or reload the browser. So definitely between there something got messed up and in 2.4.2 and I assume any other version 2, it doesn’t even work at all. I’d test more versions from npm, but npm takes so incredibly long to install. Also, doing npm update obviously has problems and can’t be relied upon to install dependencies clean.