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

Allow custom watchOptions for webpack.watch #53

Merged
merged 1 commit into from Mar 20, 2017

Conversation

pradel
Copy link
Contributor

@pradel pradel commented Mar 20, 2017

This pr allow to pass custom watchOptions to webpack.
I am currently using backpack ( thanks btw :) ) in my project and I run into an issue with webpack and docker for mac (you can find the issue here).
To fix my issue I need to be able to setup webpack watchOptions.

Here is a working example:

// backpack.config.js
module.exports = {
  webpack: (config) => {
    config.watchOptions = { poll: true };
    return config;
  },
};

@jaredpalmer
Copy link
Owner

LGTM

@jaredpalmer jaredpalmer merged commit dc22774 into jaredpalmer:master Mar 20, 2017
@pradel pradel deleted the webpack-watch-options branch March 20, 2017 21:00
@pradel
Copy link
Contributor Author

pradel commented Mar 20, 2017

@jaredpalmer thanks! Would you mind publishing a patch version? 😃

@jaredpalmer
Copy link
Owner

Done

@pradel
Copy link
Contributor Author

pradel commented Mar 21, 2017

Thank you!

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.

None yet

2 participants