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
Support Web Workers #102
Labels
Comments
Thanks! I'll check this. Never tried to run LiveReactload with web workers so potential bug here. |
Here is my code so that you can see the problem with live loading
|
milankinen
changed the title
mapbox-gl-js / webworkify - Uncaught ReferenceError: modules is not defined
Support Web Workers
Jul 13, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I use
livereactload
with a React app (0.14.7) withmapbox-gl-js
I get errors with Web Workers (whichmapbox-gl-js
useswebworkify
to create). I don't really know enough about howlivereactload
works to debug further. It seems to be related to module detection and browserify wrapping in the web worker? Withoutlivereactload
everything works fine. I am using babelify, seeing this in both babel v5 & v6, and both using ES2015 and CommonJS module syntax.The text was updated successfully, but these errors were encountered: