Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

webpack-dev-server (re)compile hanging with ts-loader #18

Open
CmdrShepardsPie opened this issue Feb 23, 2017 · 6 comments
Open

webpack-dev-server (re)compile hanging with ts-loader #18

CmdrShepardsPie opened this issue Feb 23, 2017 · 6 comments

Comments

@CmdrShepardsPie
Copy link

I'm running webpack-dev-server --watch with ts-loader and open-browser-webpack-plugin; when I change a file and it triggers a recompile, it hangs on "webpack: Compiling...". I have isolated this to using ts-loader and open-browser-webpack-plugin together by removing all other plugins, loaders, and all lines of code in my entry .ts file.

@OscarBarrett
Copy link

OscarBarrett commented Feb 23, 2017

Same here, except I can reproduce it only using file-loader.
I'm using webpack 2.2.1, webpack-dev-server 2.4.1.

open-browser-webpack-plugin 0.0.3 works fine.

@blade254353074
Copy link

OH MY GOD.
I debug all night, finally found open-browser-webpack-plugin causing the compiling stuck. 😢

@CmdrShepardsPie
Copy link
Author

I switched to webpack-browser-plugin.

@abobwhite
Copy link

abobwhite commented Mar 6, 2017

@blade254353074 I KNOW!!! I spent 2 DAMN DAYS TRYING TO FIGURE THIS OUT AND FIND IT'S THIS PIDDLY THING. UGH!

Update: I can confirm this works still with 0.0.3 but causes the world to end with 0.0.4.

@baldore
Copy link
Owner

baldore commented Mar 6, 2017

Sorry for this guys. This was caused by the changes made in 0.0.4. For now please use 0.0.3 and I'll fix it when I have some time.

@baldore
Copy link
Owner

baldore commented Mar 9, 2017

Please check if #19 fixes the problem. (Thanks to @vkalinichev).

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

No branches or pull requests

5 participants