You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
npm node-sass versions (npm ls node-sass): node-sass@4.1.1
The text was updated successfully, but these errors were encountered:
kottenator
changed the title
Watch a file with output to stdout creates an empty file first
Watch a file with output to file creates an empty file first
Jan 8, 2017
After I've played more with it, there is a bigger problem - node-sass -w input.scss > output.cssappends changes to output.css incrementally, not overrides its contents.
And I believe it's correct POSIX FD redirection behavior.
So, one shouldn't use node-sass -w > ... combination.
And I make a conclusion that there is no way to do watch with output to a single file :(
When I do:
node-sass -w input.scss > output.css
It initially creates and empty file
output.css
until a change ininput.scss
.File
input.scss
is not empty:node-sass input.scss > output.css
creates correctoutput.css
.So I can't watch it. When I do:
... it first builds the correct one but then immediately erases it and waits until a change.
I think it's a bug in
node-sass
client. Could you, please, check?Environment
npm -v
):3.10.3
node -v
):v6.3.0
node -p process.versions
):node -p process.platform
):darwin
node -p process.arch
):x64
node -p "require('node-sass').info"
):npm ls node-sass
):node-sass@4.1.1
The text was updated successfully, but these errors were encountered: