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

Support detecting new entries #297

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

zoubin
Copy link

@zoubin zoubin commented Jan 15, 2016

Another way to fix #56

Unlike #146 , this implementation does not call the constructor function each time entries added or removed, but try to only manipulate the pipeline.

The command line:

cd example/files
../../bin/cmd.js main.js -o bundle.js --entry-glob='main*.js'

cp main.js main2.js
# edit `main2.js` and save to see the change

rm main2.js

API:

b.plugin('watchify', { entryGlob: '*.js' })

@zoubin
Copy link
Author

zoubin commented Feb 18, 2016

Here is an example to show the case where multiple bundles are created.

@Zorgatone
Copy link

+1: I had problems watching multiple bundles. It would be great if the provided example would work like that

@rafegoldberg
Copy link

rafegoldberg commented Oct 15, 2017

is there any update on this? it would, in my estimation, be a killer addition to Browserify's featureset!

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

Successfully merging this pull request may close these issues.

Doesn't detect new files?
3 participants