Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watch multiple directories? #261

Closed
andykais opened this issue Aug 3, 2020 · 1 comment
Closed

watch multiple directories? #261

andykais opened this issue Aug 3, 2020 · 1 comment

Comments

@andykais
Copy link

andykais commented Aug 3, 2020

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.

@alallier
Copy link
Owner

alallier commented Aug 4, 2020

Agreed it is a useful feature. Duplicate of #25 though so closing in favor of that. Feel free to add discussion there if you think it needs more information, pull requests welcome 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants