milankinen/livereactload

Support Web Workers

Aperta

#102 aperta il 18 feb 2016

 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (61 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (861 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

When I use livereactload with a React app (0.14.7) with mapbox-gl-js I get errors with Web Workers (which mapbox-gl-js uses webworkify to create). I don't really know enough about how livereactload works to debug further. It seems to be related to module detection and browserify wrapping in the web worker? Without livereactload everything works fine. I am using babelify, seeing this in both babel v5 & v6, and both using ES2015 and CommonJS module syntax.

Guida contributor