I experimented with this plugin -- thanks a lot for providing it.
However using a secondary watcher leads to a significant lag between the moment when compilation finishes and the moment fb-flo's watcher notices the file change (at least on linux machines).
I experimented with this plugin -- thanks a lot for providing it. However using a secondary watcher leads to a significant lag between the moment when compilation finishes and the moment fb-flo's watcher notices the file change (at least on linux machines).
So I would deem hooking into onCompile a superior solution. When fb-flo upstream accepted my pull request to make starting a watcher optional this could be achieved with this PR.