hashicorp/next-remote-watch

Any way to ignore certain directories?

Opened this issue · 0 comments

Svish commented

Tested out this package, and it worked very well, but a bit "too well". Watching a PHP project folder, and is there any way to ignore certain directories?

In my particular case I'd really like to not trigger reloads related to .git/ or .cache/.

If this is possible somehow, it would be great if an example could be added to the README, as I'm sure I'm not the only one who'd like to ignore the .git/ directory for example.