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
How can I watch multiple directories? #1076
Comments
I think if you run nodemon from from a parent directory where you have your file that starts the server it watches changes to all the files in sub directories. |
@vforv deal with it? |
Hello, Sorry to bring this back, but I'm having some issues with specific watched directories in an express app. From the docs I have this:
When I try to run this code nothing happens when something changes in any of the directories being watched:
Basically I want to restart the server whenever there's a change in the server or client code. The server does start but never restarts automatically when a change happens and the bundling process is working fine. If I run the code without the |
@rhernandog have you tried out all the solutions above? |
@rhernandog can you give this a test with latest nodemon@1.13.3? I think I found this in the code and fixed it (not sure how it broke, but I was able to replicate the issue with a single dir and then this latest build fixes it). |
@remy Thanks I'll update the package and let you know how it went. |
@rhernandog can you test with nodemon@1.14.0? I've pushed a change that fixes (some) directory watching problems. |
This is working in the latest release. Please go ahead and upgrade ❤️ |
@remy Sorry I couldn't get back before. Is working great with the latest update, thanks for the great work!!! 👏👏 |
I need something like this:
Is that possible?
The text was updated successfully, but these errors were encountered: