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

235
Views
npm script onchange unable to process the scripts while file changes

I am using npm script onchange but this is not working at all. I have installed 7.1.0 this is my folder structure Folder Structure can be seen from here

and the scripts and dependencies that I am using are as follows

"scripts": {
    "start": "npm run watch:css",
    "test": "echo \"Error: no test specified\" && exit 1",
    "scss": "node-sass -o css/ css/scss-styles.scss",
    "watch:css": "onchange \"css/*.scss\" -- npm run scss"
  },
"devDependencies": {
    "font-awesome": "^4.7.0",
    "npm-run-all": "^4.1.5",
    "npm-watch": "^0.11.0",
    "onchange": "^7.1.0",
    "node-sass": "^7.0.1",
    "parallelshell": "^3.0.2"
  }

when I run npm start it stuck and blinks the cursor then I change the file then there is no script being run.

I am unable to solve this problem. Help me out.

about 4 years ago · Juan Pablo Isaza
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!