I doubt it, Python and NodeJS are listed too and I know I installed them around 15 months ago. I probably did Rails around the same time.
but I have it installedâŚ
Is Ruby currently installed/in the path?
yeah supposedlyâŚ
What does ruby -v
produce from the command line?
(not GitBash)
And sass -v
?
Looks good
So where are you having trouble?
so my .scss file wont update when I try to change it like its suppose too. For some
reason it works for my .css file but not the .scss and so basically the automation is not workingâŚ
Thatâs all a bit vague. If you can provide more concise instructions on how I can reproduce your problem, I donât mind checking if it works for me.
No idea what Iâm looking at. Sorry.
ok so when running sass I should be able to update my .scss right and it should
auto load the web browser when a change is made, but mine is not.
im assuming it is because of this error:
and I tried reinstalling everything several time but no luckâŚ
shouldnât you be running that from the Windows command prompt?
Also, whatâs in your gulpfile?
var gulp = require('gulp'),
jshint = require('gulp-jshint'),
sass = require('gulp-ruby-sass'),
sourcemaps = require('gulp-sourcemaps'),
webserver = require('gulp-webserver');
gulp.task('js', function() {
return gulp.src('builds/sassEssentials/js/myscript.js')
.pipe(jshint('./.jshintrc'))
.pipe(jshint.reporter('jshint-stylish'));
});
gulp.task('sass', function () {
return sass('process/sass/style.scss', {
sourcemap: true,
style: 'compressed'
})
.on('error', function (err) {
console.error('Error!', err.message);
})
.pipe(sourcemaps.write())
.pipe(gulp.dest('builds/sassEssentials/css'));
});
gulp.task('watch', function() {
gulp.watch('builds/sassEssentials/js/**/*', ['js']);
gulp.watch(['process/sass/**/*'], ['sass']);
});
gulp.task('webserver', function() {
gulp.src('builds/sassEssentials/')
.pipe(webserver({
livereload: true,
open: true
}));
});
gulp.task('default', ['sass', 'watch', 'webserver']);
For example if update âcompressedâ to âexpandedâ it does not updateâŚ
why not gitbash? isnt it the same thing?
Not really.
using the regular cmd prompt wont let me though