Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

259
Views
after the command "npm start" I do not see changes in the console, as if the code is not being updated on the fly. JS

after the command "npm start" I do not see changes in the console, as if the code is not being updated on the fly.

{ "scripts": { "format": "prettier --write app", "start": "http-server" }, "dependencies": { "http-server": "^14.1.0" }, "devDependencies": { "prettier": "^2.0.5" } }

My version of node: 7.11.1

i have a macbook

What can I do ?

Thank you

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

Node do not automatically restart after changes :)

You should use eg. nodemon: https://www.npmjs.com/package/nodemon

npm i nodemon --dev

Then start your app like that:

nodemon index.js
about 4 years ago · Juan Pablo Isaza Report

0

donnot reload your page. you can use eg. nodemon: https://www.npmjs.com/package/nodemon

about 4 years ago · Juan Pablo Isaza Report

0

Thank you for your help, but it still doesn't go ... I installed a nodemon. { "scripts": { "format": "prettier --write app", "start": "http-server" }, "dependencies": { "http-server": "^14.1.0" }, "devDependencies": { "nodemon": "^2.0.16", "prettier": "^2.0.5" } }

enter image description here

then I have to in the console: nodemon game.js ?

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!