Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Live reload does not work with WSL2 #1150

@kaito3desuyo

Description

@kaito3desuyo

Describe the bug
Live reload does not work with WSL2

Logs
No logs

To Reproduce

  1. npx degit "sveltejs/sapper-template#rollup" my-app (also same problem with webpack)
  2. App start with WSL2 (source code is located in /mnt/c/***)

Expected behavior
The app should be reloaded if the source code changes

Information about your Sapper Installation:

  • Your operating system: (e.x. OS X 10, Ubuntu Linux 19.10, Windows XP, etc)
    Windows 10 x64 2004 19041.172 (insider preview) + WSL2 Ubuntu 18.04

  • Your hosting environment: (i.e. Local, GCP, AWS, Now, etc...)
    Local

  • Sapper version (Please check you can reproduce the issue with the latest release!)
    v0.27.0

  • Svelte version (Please check you can reproduce the issue with the latest release!)
    v3.0.0

  • Whether your application uses Webpack or Rollup
    Rollup

Severity
Inhibits comfortable development.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions