Skip to content

NextJS does not support file change events in WSL2's new protocol (9P) #8733

@BiscuiTech

Description

@BiscuiTech

Bug report

Describe the bug

File change events are not received by HMR, thus making HMR completely unsuable. Changes are not reflected.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Take any project working on next 9.
  2. Have Windows 10 Insiders Fast Ring
  3. Install WSL2 Ubuntu
  4. run next dev or now dev
  5. Make a change in your files
  6. HMR does not kick in. You have to reload the whole command.

Expected behavior

HMR should read file change events from the 9P protocol in WSL2

System information

  • OS: Windows 10 Insiders Fast build 18980
  • Version of Next.js: latest - 9.0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions