Have you been developing a NextJS app with dynamic routing (using maybe Express), and found that every time you make a change you have to do the te...
For further actions, you may consider blocking this person and/or reporting abuse
I am getting a ECONNREFUSED ::1:64146 error when trying to spin up my app with nodemon script:
When I spin up my app with Next script, the app spins up fine. Here is the script:
Here is my nodemon.json:
Here is my server.js:
Here is my next.config:
Here is the Error I'm getting when using nodemon:
Here is my package.json:
Any thoughts on what the issue is?
Good one.
Quick correction: you shouldn't use
-w
on your package.json or it'll ignore yournodemon.json
config.Yeah, should not it be just
nodemon server.js
to start up the main server file and it will trigger server reloadin case any of specified files in
nodemon.json
were altered?Okay great, this one is pretty standard. How to refresh the browser when you make changes though using Next/ SSR?
I'd do Ctrl+F5
Wow, thank you so much!
Thanks for sharing!
I know nodemon since my first try with node.js. That's good you're sharing it with JavaScript beginners :)