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

Added support for passing options to watchify (watchifyOptions). #299

Merged
merged 1 commit into from
Feb 27, 2015

Conversation

nfvs
Copy link
Contributor

@nfvs nfvs commented Feb 26, 2015

Similar to how browserifyOptions are passed to browserify, this PR allows options in watchifyOptions to be passed to watchify.

Very useful in Docker containers, so we can pass chokidar.usePolling=true to watchify: browserify/watchify#126.

Similar to how browserifyOptions are passed to browserify, this PR
allows options in watchifyOptions to be passed to watchify.
@tleunen
Copy link
Collaborator

tleunen commented Feb 27, 2015

Looks good to me, this even allow users to customize the delay for watchify (not documented though)

tleunen pushed a commit that referenced this pull request Feb 27, 2015
Added support for passing options to watchify (watchifyOptions).
@tleunen tleunen merged commit 3c6f0f6 into jmreidy:master Feb 27, 2015
@nfvs nfvs deleted the enable_watchify_options branch February 27, 2015 07:33
@adrian-chang
Copy link

Isn't this dependent on browserify/watchify#126 getting merged in?

@tleunen
Copy link
Collaborator

tleunen commented Mar 3, 2015

For this specific usecase, yes, but even without that, you know have the possibility to customize the delay for watchify.

@nfvs
Copy link
Contributor Author

nfvs commented Mar 3, 2015

@amchang in the meantime you can also use this fork: https://github.com/sagansystems/watchify/tree/chokidar

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.

3 participants