Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

"Script file not found" When Using worker-loader With Webpack Dev Server #4

Closed
pahund opened this issue May 17, 2015 · 1 comment
Closed

Comments

@pahund
Copy link

pahund commented May 17, 2015

The worker loader works fine for me when I use webpack to create my distribution files.

When I use webpack dev server in hot reload mode, however, I get this error message on the browser console: Script file not found: js/3a7e2f55336ef9a3d972.worker.js

It seems that the script tries to load the worker bundle not from the dev server running on localhost:8080 (like the main bundle), but from the local file system.

I tried using the worker loader both through my webapp config (as post loader) and through worker! in my require statement, with the same result, it works with webpack, but not with webpack dev server.

link to my project

@pahund
Copy link
Author

pahund commented May 18, 2015

Ah, never mind, my bad, misconfiguration on my side.

@pahund pahund closed this as completed May 18, 2015
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

1 participant