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.

Watch function intermittently stops compiling

See original GitHub issue

Paul – This is similar to the issue I reported in the now-closed bug on Thursday.

  1. I start brunch watch – both with a server and without
  2. I use an IDE that rsync’s to the server on save.
  3. Before 1.3.3 every time I saved the file, the watch would fail: It would result in an empty file in the /public directory. Now, it’s intermittent. Perhaps once every 5 times I save.
  4. Updating the source file (resaving or touch’ing it) does look like it’s triggering watch to recompile, but it never fixes the empty output issue.
  5. Restarting the watch fixes it.

Issue Analytics

  • State:closed
  • Created 11 years ago
  • Comments:19 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
charlesdebcommented, Feb 28, 2018

Thanks @fatcop, adding the watcher clause to my brunch config as mentioned in the troubleshooting doc you linked to seems to have fixed it.

1reaction
fatcopcommented, Feb 21, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

watch is flaky · Issue #550 · sass/dart-sass - GitHub
No error is printed in the terminal, it just stops compiling, ctrl c and restart watch fixes it but defeats the point of...
Read more >
Watch, recompile, and restart - node.js - Stack Overflow
My simple implement via config of package.json using nodemon to watch src for ts file changes and compiling typescript/ts files with tsc.
Read more >
Apple Watch Troubleshooting: Common Problems and Solutions
Struggling with some Apple Watch issues? We've compiled a list of some of the most common problems and how to deal with them....
Read more >
When the second hand jumps in 2-second intervals or stops
It is a sign that the energy stored in the rechargeable battery is reduced to an extremely low level. When this occurs, some...
Read more >
Set a watch on variables - Visual Studio (Windows)
Observe variables with a Watch window. You can open more than one Watch window, and observe more than one variable in a Watch...
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