milankinen/livereactload

Support Web Workers

Ouverte

#102 ouverte le 18 févr. 2016

 (2 commentaires) (0 réaction) (0 personne assignée)JavaScript (61 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (861 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur