milankinen/livereactload

Support Web Workers

オープン

#102 opened on 2016/02/18

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (61 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (861 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド