Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Empty output file #161
I was having issues with gulp-sass outputting an empty file. I spent some time on resolving it, but figured out it wasn't a configuration issue on my end (or not entirely, not 100% sure on this).
I poked around and found that
Then it used this array to create a new Buffer. I think the issue is that passing an array to Buffer might initialize an empty buffer since Buffer might expect a String (not a js person). I fixed this in my local project by suffixing
I'm using the simplest config possible, not passing any arguments, piping it straight to gulp.dest and my scss compiles using both the sass gem as well as node-sass. Not doing source maps so I feel this might be related to #81 .
If you think this is a real issue and not something weirdly specific to my setup, let me, I think I can punch out a PR.
Hi! I'm using node-sass ver 2.0.0-beta and here's the gulpfile itself: https://gist.github.com/sirMackk/1e9e3cb21c980c0a5a03