How to make nodemon work
My issue is regarding nodemon.
I was able to launch my app through the shell with "npx nodemon index.js" but it stops running as soon as i close the browser tab (eventho it is boosted and always ON).
There must be a way to make it run on the console forever?
.replit file to configure the run button instead of running it in the shell. The shell is used for quick 'snippets' not permanent things.
Firstly, you don't have to include
npx when running a server using nodemon. You just do
Secondly, you don't really need nodemon, because replit automatically updates the server. Just make sure to click the run button.
@OldWizard209 well when i do that i get ~/YellowNormalServicepack$ nodemon index.js
bash: nodemon: command not found
I write this thread because i HIT run but when my refreshtoken expires and changes my app hangs and dont take into effects my new info until i manually hit stop and run again.