Scss compilation with node-sass replicates the code instead of replacing

0

I migrated from Ruby to Node-Sass recently. Everything has gone well, except for one detail in the command:

node-sass -w --output-style compact scss/style.scss > style.css

Instead of replacing the style.css file whenever style.scss is modified, it just adds all the code back underneath the old code, that is, it replicates the css as many times as the .scss files are saved.

Does anyone know how to solve it?

    
asked by anonymous 10.08.2018 / 14:22

0 answers