stencil-redux-demo icon indicating copy to clipboard operation
stencil-redux-demo copied to clipboard

Adding stencil-router breaks hot reloading

Open shendrick opened this issue 6 years ago • 3 comments

Resources: Before submitting an issue, please consult our docs.

Stencil version: (run npm list @stencil/core from a terminal/cmd prompt and paste output below):

 insert the output from npm list @stencil/core here

@stencil/[email protected]

I'm submitting a ... (check one with "x") [X ] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com

Current behavior: I added the stencil router and when running the dev server and making a change. Bundle rebuilds fine. Then hot reloading breaks, I get a white screen and I get this console error...

Uncaught SyntaxError: Unexpected token < ... build/app/undefined:1

If I stop and restart with npm start, everything is fine again.

Expected behavior: Should hot reload when using stencil router

Steps to reproduce: The issue seemed to start when I added in stencil router.

Related code:

insert any relevant code here

Other information:

shendrick avatar Nov 08 '17 07:11 shendrick