watch multiple directories?
andykais opened this issue · 1 comments
andykais commented
Hi, is it possible to watch multiple directories? I have a project structure like so:
sample/
index.html
build/
index.js
src/
index.ts
node_modules/
package.json
My development setup looks like this: reload --browser --start-page 'sample/index.html' & tsc --watch
. I want to reload the browser whenever a file in the sample
repo changes or a file in the build
folder changes. Currently the best I can do is reload --browser --start-page 'sample/index.html' --ext js,html & tsc --watch
but that is still needlessly watching the node_modules
& src
directories.