Closed tbathat closed 1 year ago
Details
Hi y'all!
When I run
npm start
I get this error:> server@1.0.0 start > node --watch src/server node: bad option: --watch
Node.js version
v18.10.0
You'll need to upgrade -- --watch
was added to Node.js 18 in 18.11.0.
It worked just fine! Thanks a lot friend.
Details
Hi y'all!
When I run
npm start
I get this error:I can just take the node --watch from my start script in the package.json but I would like to have the node watch action so I dont need to re-start my server on every change.
Node.js version
v18.10.0
Example code
This is my package.json
Operating system
Windows
Scope
I don't really know what to answer.
Module and version
Not applicable.