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

Increase/make configurable HMR request timeout #1700

Closed
KnutHelland opened this issue Dec 3, 2015 · 3 comments
Closed

Increase/make configurable HMR request timeout #1700

KnutHelland opened this issue Dec 3, 2015 · 3 comments

Comments

@KnutHelland
Copy link

Hi,

The 10s timeout that is hard coded here: JsonpMainTemplate.runtime.js:29 gives me trouble since rebuilding my LESS module (everything in one big module) often takes more than 10 seconds to recompile, so this request times out.

I don't know if there are benefits of having this so low. Can it be increased? Or made configurable in some way so I can easily increase myself?

The similar timeout in WebWorkerMainTemplate.runtime.js#L23 is hard coded as well.

I know it is not optimal to have such a big module taking that long time to recompile. In fact, watching the less code with grunt or gulp seems to go much faster, so Webpack is probably not ideal for this. But it simplifies things since I don't need another live reload mechanism for the stylesheet.

Knut

@paraboom
Copy link
Contributor

PR was merged, you can close that issue.

@webpack-bot
Copy link
Contributor

This issue had no activity for at least half a year.

It's subject to automatic issue closing if there is no activity in the next 15 days.

@webpack-bot
Copy link
Contributor

Issue was closed because of inactivity.

If you think this is still a valid issue, please file a new issue with additional information.

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

No branches or pull requests

4 participants