Infinite /_health loop after saving and restarting

System Information
  • Strapi Version: v4.4.7
  • Operating System: Windows 11
  • Database: Default/Quickstart
  • Node Version: 18.12.1
  • NPM Version: 8.19.2
  • Yarn Version: -

Hi,
since I am on a new computer with Windows 11, my fresh Strapi installation has a strange behaviour.
When I save a new content-type with fields (or updating), the server is restarting. The restart seems to work, but strapi is still waiting for the restart. After a while, it ends with “The restart is taking longer than expected”. But the server console shows that it is running but with a loop og health requests:

[2022-11-08 14:05:02.283] http: HEAD /_health (0 ms) 204
[2022-11-08 14:05:02.388] http: HEAD /_health (0 ms) 204
[2022-11-08 14:05:02.492] http: HEAD /_health (0 ms) 204
[2022-11-08 14:05:02.595] http: HEAD /_health (0 ms) 204
[2022-11-08 14:05:02.699] http: HEAD /_health (0 ms) 204
[2022-11-08 14:05:02.803] http: HEAD /_health (0 ms) 204
[2022-11-08 14:05:02.907] http: HEAD /_health (0 ms) 204
.......

When i refresh the browser window, everything is fine again and the fields have also been saved.

Does somebody has any idea

I also experience this from time to time, but then I just manually reload the page like you suggested.

I’m having exactly the same problem on Windows 11. Starting strapi with “npm run develop” works fine, but as soon as you edit s.th. which has to restart the server, the server never restarts and the console keeps running with written above messages. Only reloading the browser helps. What’s wrong here and is there a solution for this behaviour?

Same issue. I’m stuck in a loop after saving a model. When refreshing/reloading the page there is no more issue.

Could anyone find a solution for this ?
My content creators are killing me