systemjs-hot-reloader: Recovery from SystemJS error
Is it possible to somehow automatically recover from SystemJS error?
For example, if there were a typo in imported file, we’ve got following error:
Error: (SystemJS) http://localhost:3000/source/scripts/main.js: Unexpected token (18:6)
16 | return React.createElement('div', null, [
17 | React.createElement('div', null, 'test')
> 18 | React.createElement(Second, null, null)
| ^
19 | ])
20 | }
21 | }
Hot reloading not working after this error until whole page will be reloaded, which takes quite a lot of time for large apps.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (8 by maintainers)
I actually found out that workflow with this hot reloader much more enjoyable than with
jspm build --watch
even with this issue in-place, so I’m sold out anyway