faustinoaq/watcher

Stuck in a loop

kingsleyh opened this issue · 1 comments

At some point this seems to have stopped working - and now the watcher thinks that the files have changed continuously even though there were no file changes.

on every loop the event._on_change reports the file landing.html has changed but it hasn't

  1. "src/webapp/public/landing.html" => {true, "20191009174705.775"}
  2. "src/webapp/public/landing.html" => {true, "20191009174705.775"}
    3 ... and forever etc

I think the problem could be that when the files change some of them are regenerated and the watcher doesn't cope with a file it's tracking being replaced with an updated one