atticus-sullivan / cluttealtex

GNU General Public License v3.0
1 stars 0 forks source link

Watch filter files #8

Closed atticus-sullivan closed 2 months ago

atticus-sullivan commented 2 months ago

Watching engines often have an upper limit of how many files can be watched at once (inotifywait for instance seems to only be able to watch at most 1024 files). Thus, these PR provides options to filter the files that shall be watched so that this limit is not exceeded.

Note: You can use all of these options more than once. They will always be processed in the order you specified them (meaning the last option will always take precedence)

Note: No matter which of these options you use, the default is always to not watch a file. So by only using --watch-not-path=./aux/ you will end up by not watching any path. You can of course change this by specifying --watch-only-path=/ before.