milankinen/livereactload

Support Web Workers

开放

#102 创建于 2016年2月18日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (61 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (861 个星标)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南