Localhost Server has to manually restart to make changes effective (crtl +C and npm run develop )

System Information
  • Strapi Version: 3.3.3
  • Operating System: window 10 + wsl2
  • Database: mongoDB
  • Node Version: node v14.15.0
  • NPM Version: version 6.14.8
  • Yarn Version:

Hi all , I cant say I have encounted an error as there is no error appears. However , I have to manually switch off and switch the server by inputting crtl +C and npm run develop respectively every time I made changes on backend, making the efficiency of development and debugging incredibly slow and painful.

I would like to know whether there is a way for server auto-reload every time I made changes.

If the issue has been raised , please kindly provide the link for the solution as I have spent a lot of times on this with fruitless result.

Thanks in advance , and please let me know if there are crucial information that I have neglected to provide .


The server should auto-reload when changes are detected.

In that case, problem is not related to strapi at all. Thats the guy who causes your problems:

WSL2 changed its file-sharing protocol. A fast solution would be to switch to WSL1.