sdebaun / sparks-cyclejs

45 stars 4 forks source link

chore(): use real hmr on a component level #166

Open TylorS opened 8 years ago

TylorS commented 8 years ago

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:

jemmyw commented 8 years ago

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
TylorS commented 8 years ago

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.