Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

Webpack development reloading error #153

Closed
Rowno opened this issue Jun 11, 2019 · 3 comments
Closed

Webpack development reloading error #153

Rowno opened this issue Jun 11, 2019 · 3 comments

Comments

@Rowno
Copy link

Rowno commented Jun 11, 2019

Running the Webpack example with zero changes and then editing src/routes/index.svelte results in the following error in the browser (and the page doesn't reload):

Uncaught TypeError: Cannot read property 'status' of undefined
  at check (sapper-dev-client.js:6)
  at EventSource.source.onmessage (sapper-dev-client.js:37)

Which is this code:

image

@Rowno
Copy link
Author

Rowno commented Jun 11, 2019

Found a workaround, changing the dev script to this fixes the issue:

sapper dev --hot=false

jayperryworks added a commit to jayperryworks/bike-builder that referenced this issue Jul 31, 2019
and tweak webpack server so live reloading works - sveltejs/sapper-template#153
@samuelhnrq
Copy link

Well I'm sorry but that doesn't fix the problem just avoids it... But is this issue even related to this repo? It appears the issue is in sapper internal scripts themselves rather than this template...

@antony
Copy link
Member

antony commented Feb 15, 2020

Closing in favour of the linked issue in Sapper.

@antony antony closed this as completed Feb 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants