baldore / open-browser-webpack-plugin

Opens a new browser tab when Webpack loads.
119 stars 27 forks source link

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

Open CmdrShepardsPie opened 7 years ago

CmdrShepardsPie commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

CmdrShepardsPie commented 7 years ago

I switched to webpack-browser-plugin.

abobwhite commented 7 years ago

@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 commented 7 years ago

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 commented 7 years ago

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