Really Slow Development start/launch time

System Information
  • Strapi Version:
  • v 5.5.0
  • Operating System:
  • Windows 11
  • Database:
  • postgres
  • Node Version:
  • v20.8.0
  • NPM Version:
  • 10.1.0

Hey guys, I am running a TS strapi and have around 45 collection types ( of those 5-8 are single types )
My Launch times are approx 1 minute or so ,
Example of my last npm run dev
│ Launched in │ 46291 ms
Has anyone found any way to make this a bit faster? since whenever I want to make a change and test it is kinda pain.
Attempts I am trying as workarounds

  • I started working with Unit tests in order to increase my development time but I still face issues when I mock the data ( nothing wrong there I just need to start the server produce some mock data and then play around with it ).
  • I am investigating the idea of having multiple strapis and working as event-driven architecture.
  • Followed this guy’s steps Speeding up Strapi development times | by Divakar Rajesh | Medium which reduces my re-starts to half
    │ Launched in │ 29301 ms
    Side Note: whenever it totally breaks ( I save a file that has a typo I have to notice it and revert the change and go again).

Has anyone found a way to tackle this?