megadetector-gui icon indicating copy to clipboard operation
megadetector-gui copied to clipboard

Hot Reloading is broken

Open petargyurov opened this issue 5 years ago • 0 comments

Describe the bug Reloading the app in dev is broken. Typically in the dev process you use a hot-reloader to automatically reload the app when you make changes. There appears to be something going wrong because on each refresh we just get a blank screen.

To Reproduce Steps to reproduce the behavior:

  1. Start the app in dev mode
  2. Press Ctrl+R or make a code change and save to prompt the hot-reloader
  3. Observe blank screen

Expected behavior The app to properly refresh with Ctrl+R and to show new changes if there was a code change

Screenshots If applicable, add screenshots to help explain your problem.

System Information (please complete the following information):

  • OS: Windows
  • Version 10 (1909)

Additional context It appears to be an issue caused by the page routing package. Still unsure exactly what it is.

Using other Svelte-specific routers seems like it might be a better choice. So far this one looks most promising:

  • https://routify.dev/
    • https://github.com/roxiness/routify-starter

petargyurov avatar Jan 19 '21 12:01 petargyurov