debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Hot reloading does not work

Open irfanhudda opened this issue 9 years ago • 3 comments

Running yarn start with "hotReloading": true gives error

ERROR in ./~/devtools-launchpad/src/utils/assert.js
Module not found: Error: Cannot resolve module 'react/lib/ReactUMDEntry/lib/ReactMount' in /home/mycomp/Projects/debugger.html/node_modules/devtools-launchpad/src/utils
 @ ./~/devtools-launchpad/src/utils/assert.js 1:316-347

After setting "hotReloading": false it gives no errors.

irfanhudda avatar Feb 19 '17 14:02 irfanhudda

Googling said error points to our version of react-hot-loader being too old.

https://github.com/devtools-html/devtools-core/blob/master/packages/devtools-launchpad/package.json#L78

I think we need to use the latest 3.0.0 beta to get hot loading working with React 15+

Also since the work would be done in launchpad, reopening issue on devtools-core may be better @irfanhudda

wldcordeiro avatar Feb 19 '17 21:02 wldcordeiro

Opened https://github.com/devtools-html/devtools-core/issues/195

wldcordeiro avatar Feb 20 '17 03:02 wldcordeiro

@wldcordeiro Thanks for opening that issue.

irfanhudda avatar Feb 20 '17 05:02 irfanhudda