-
Notifications
You must be signed in to change notification settings - Fork 0
The ignore option on run
If you use the -i option, then events for files created in the top directory, after the start of mulle-monitor run are missed. That is because mulle-monitor filters the top directory for ignored files and folders.
This has the big advantage, that a LOT of events never reach the mulle-monitor.
There are two ways to ignore a build folder. Either add !build/ into each match.d patternfile. Or add build/' to any *patternfile* in ignore.d`.
The first way precludes the missing event problem. The second way saves quite a bit of load.
A solution could be to tell fswatch to monitor top non-recursively and the rest recursively. Does that work ? Does inotifywait do it too ?
Another solution could be to put build outside of the project, but then folders like .git
are still slowing down the proceedings (there are ~1000 files in the mulle-monitor .git).