Closed alkhe closed 8 years ago
I've released v0.0.10 to address this issue.
I've tested that it works with cyc, that was a very helpful repro case.
I made a pull request to upgrade cycle-restart. https://github.com/edge/cyc/pull/7
Could you please give it a go and let me know if that fixes it for you?
Got it to work.
Awesome! I think cyc is the easiest way to get started with hot reloading at the moment. We should add some info to the readme about that.
cc @staltz :)
@edge can you submit a PR to cyclejs.github.io in the Getting Started page to add a reference to cyc
?
This error causes webpack to ditch the reload:
This happens inside of a certain function that was given to
onDispose
inrestartable
, which traces the error either to https://github.com/Widdershin/cycle-restart/blob/master/src/restartable.js#L154 or https://github.com/Widdershin/cycle-restart/blob/master/src/restartable.js#L98.repro: https://github.com/edge/cyc/tree/restart