-
Notifications
You must be signed in to change notification settings - Fork 182
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
Doesn't detect new files? #56
Comments
How do you mean new files? Like from a glob? If you |
Here's a use case that fails for me, that might be what @chrisabrams is describing:
This will build the current set of test files. If you This is understandable, since the widcard is expanded by the shell before it is passed to watchify. Likewise, if you were using grunt-browserify with
In the meantime, I just restart watchify when I add a new entry point. |
@aearly that's what I have to end up doing as well..but I want it to pick it up for me :) |
I just came across fireworm which can watch globs patterns for new files (as well as the other standard |
+1, most of the gulp incremental build packages offer this. |
@aearly watchify uses chokidar which does support added files & globs (perhaps it did not when you commented?). |
@simonzack the issue is glob expansion before the list of files is handed to watchify.
gets expanded to:
and then executed. There is no way for watchify to know that |
|
Yep, or probably something like |
Is there a configuration needed to get watchify to recognize new files?
The text was updated successfully, but these errors were encountered: