Ruby for Windows

And sass -v ?

Looks good :slight_smile:

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.

so When I update my .scss it does not update the page

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

No tilde or slash necessary.

cd Desktop

You can type cd De then press the tab key to have the command prompt autocomplete.

it wont let me use the git clone

At this point I am lost as to what you are trying to do.

im trying to clone a sass github file to my desktop https://github.com/planetoftheweb/sassEssentials

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.