sparks-cyclejs icon indicating copy to clipboard operation
sparks-cyclejs copied to clipboard

chore(): use real hmr on a component level

Open TylorS opened this issue 8 years ago • 2 comments

This is a bit experimental, but I thought you guys might want to give this a whirl. It's using https://github.com/whitecolor/cycle-hmr to do real per-component hot module reloading.

So far it seems to work :+1:

TylorS avatar May 07 '16 17:05 TylorS

It doesn't seem to work for me. I get an error:

proxy.js:81 Uncaught TypeError: Cannot read property 'stream' of undefined
(anonymous function) @ proxy.js:81
getProxyStreams @ proxy.js:79
(anonymous function) @ proxy.js:167
(anonymous function) @ index.js:261
(anonymous function) @ proxy.js:154
Cycle @ index.js:74
run @ index.js:61
(anonymous function) @ main.js:37

jemmyw avatar May 07 '16 20:05 jemmyw

Oh shite, I actually had to edit a line in cycle-hmr :/

I mentioned it to the author of the library, we chat relatively often on gitter.

TylorS avatar May 08 '16 18:05 TylorS