Fixes #18: Fixed condition and updated styles path

This commit is contained in:
Oliver Davies 2016-02-04 08:23:26 +00:00
parent f6b0b786af
commit 442ce09b92
2 changed files with 3 additions and 2 deletions

View file

@ -2,4 +2,5 @@ g = require 'gulp'
g.task 'watch', ->
g.p.livereload.listen()
g.watch 'styles/**/*.scss', ['styles']
g.watch 'styles/*.scss', ['styles']

View file

@ -22,7 +22,7 @@ g.css = (srcFiles, destFile) ->
.pipe g.p.concat destFile
.pipe g.p.if g.config.sourceMaps, g.p.sourcemaps.write('.')
.pipe g.dest 'source/assets/css'
.pipe g.p.if g.config.livereload, g.p.livereload()
.pipe g.p.if g.config.liveReload, g.p.livereload()
g.js = (srcFiles, destFile) ->
g.src srcFiles