Live reload not working out of box in roll up template
stolinski opened this issue · 6 comments
I followed the instructions here:
https://sapper.svelte.dev/docs#Getting_started
and don't have any kind of live reloading working when making changes to any files. Build process is showing changes, no reloading taking place on the client. attempted in Chrome and Brave. Live reloading works on other platforms without issue.
Network tab shows a failed request for http://localhost:3000/client/undefined not sure if these are related.
Seems to be the same issue here: sveltejs/sapper#1151
Yes, the issue is that no javascript is running at all, because the build fails due to presumably a bug in that Rollup plugin.
JW why this got closed if it's still a bug.
Because there's another issue for it.
Sure, but not in regards to the templates. If a fix is a pinned version in the template, shouldn't that be tracked here until a fix is in?
For the past bit anyone trying Sapper for the first time has a broken experience OOTB and might come here looking for open issues.🤷♂️
I created a temp fix for this just to prevent first time users from seeing broken code OOTB.