Adonis serve --dev not starting app on fresh install instead npm start does


#1

Hello Everyone, I just cloned a full-stack blueprint of v4.1, after successful installation, I then ran adonis serve --dev, and the output was

 SERVER STARTED 
> Watching files for changes...

But this did not start the server, however, running npm start was able to start the server as shown in the screenshot.

so my questions are:
1- Was there anything I didn’t put right to run the server on adonis serve --dev?
2- Does it mean everytime am going to run the server on nm start?


#2

no, you can use PM2 to reload your server automatically


#3

Did you verified that server is running or not, by opening it in the browser?


#4

Yes i did open in the browser, it never ran