Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

236
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda