Fixes #18: Fixed condition and updated styles path
This commit is contained in:
parent
f6b0b786af
commit
442ce09b92
|
@ -2,4 +2,5 @@ g = require 'gulp'
|
|||
|
||||
g.task 'watch', ->
|
||||
g.p.livereload.listen()
|
||||
g.watch 'styles/**/*.scss', ['styles']
|
||||
|
||||
g.watch 'styles/*.scss', ['styles']
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue