milankinen/livereactload

Support Web Workers

Open

#102 建立於 2016年2月18日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (61 fork)batch import
enhancementhelp wanted

倉庫指標

Star
 (866 star)
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.

貢獻者指南