question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Brunch watch is not detecting code changes

See original GitHub issue

After 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:closed
  • Created 9 years ago
  • Comments:48 (22 by maintainers)

github_iconTop GitHub Comments

1reaction
es128commented, Aug 28, 2015

wondering if the real issue has any resolve?

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.

0reactions
lucian303commented, Mar 10, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found