Start strapi in development mode with server.js

System Information
  • Strapi Version: 4.x
  • Operating System: windows
  • Database: sqlite
  • Node Version: 14.x LTS
  • NPM Version: /
  • Yarn Version: /

Hello i use Plesk software to run a strapi app but it can’t run it with CLI/pm2, i have to do a server.js file with strapi().start() but i need the autoreload feature, how can i do that?
I’ve looked into @strapi/strapi/Strapi.js and seen no develop function
my node_env is in dev mode

Thanks

3 Likes

Hi, @SinOfLust
I’ve been trying to do the same thing for a week, I have your same development environment, VPS with Plesk, but always the instance stays in production mode and I can’t edit the content types.
How did you do to solve it?
Thank you.