Menu
  • HOME
  • TAGS

How to compile SASS files in different directories using Gulp?

css,sass,gulp,gulp-ruby-sass

Figured it out! Well not 100%, still not sure why the multiple path array didn't work. Anyways so I forgot that in my main web.scss file I already had multiple import statements setup: @import "vendors/normalize"; // Normalize stylesheet @import "modules/reset"; // Reset stylesheet @import "modules/base"; // Load base files @import...

Why did my gulp task stopped generating my css files?

ruby,sass,gulp,gulp-ruby-sass

Your gulp task is fine. gulp-ruby-sass uses, by default, the gem sass to compile your scss files. Since you recently formatted your computer I bet you installed the last version of Ruby Installer for Windows. I made some tests and I noticed that sass doesn’t seem to work on Windows...

Error No such file or directory during Gulp-Ruby-Sass Task

javascript,gulp,gulp-ruby-sass

Use callback so that gulp knows when the task is complete: gulp.task('delete', function(cb) { del([ 'client/website/assets/css/maps', 'client/website/assets/css/bitage_web.css', 'client/dashboard/assets/css/maps', 'client/dashboard/assets/css/bitage_app.css', 'client/website/assets/js/*', 'client/dashboard/assets/js/*' ], cb); }); Make delete run before other tasks for example with run-sequence....