     .pipe(watch((files) ->
       return files.pipe(sass()).pipe(gulp.dest('./web/dist/css'))
     ))
+
+
+#compile js
 gulp.task 'browserify', () ->
   b = browserify({
     entries: './web/src/cs/dream.coffee'

sass = require 'gulp-sass'
watch = require 'gulp-watch'


gulp.task 'tornado', shell.task('foreman start web')
gulp.task 'copy', () ->
  gulp.src('./web/src/index.html')
  .pipe(gulp.dest('./web/dist/'))

    .pipe(watch((files) ->
      files.pipe(gulp.dest('./web/dist/'))
    ))

#preprocess sass scss
gulp.task 'sass', () ->
  gulp.src('./web/src/sass/*.scss')
    .pipe(sass())
