-
Notifications
You must be signed in to change notification settings - Fork 1.3k
No way to output to a single file when watching #1853
Comments
What are you suggesting? |
Maybe to allow |
I see. We do have an |
I came across this today. Even when pointing the input to one file, it watches the whole directory (seemed to be recursive even though I didn't have the -r flag) and creates a .css file in my output directory FOR EACH FILE. So Even without the option for |
Note: you can get around this somewhat by prefixing all imported sass files with a |
This comment has been minimized.
This comment has been minimized.
The problem was that I had multiple files to watch for changes but only one file to recompile. |
So this is the same as this #2492 (comment) I think |
After my experiments (#1852) I found that
node-sass -w input.scss > output.css
is a wrong way to go (due to POSIX file descriptors redirection logic).So currently there is no way to output changes into a single file when using
--watch
option.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: