Skip to content

Commit

Permalink
added template file to watcher/browsersync task
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-park committed Jun 21, 2016
1 parent 59489f1 commit 90e2565
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gulpfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ src =
css :
main : 'assets/css/' + dist.name + '.css'
vendor : []
templates:
main : ['**.hbs'
'partials/**/**.hbs']

banner = [ "/**"
" * <%= pkg.name %> - <%= pkg.description %>"
Expand Down Expand Up @@ -105,7 +108,9 @@ gulp.task 'js default', ->
gulp.task 'server', ->
browserSync.init null,
proxy: "http://127.0.0.1:#{CONST.PORT.GHOST}"
files: ["assets/**/*.*"]
files: ["assets/**/*.*",
"*.hbs",
"partials/**/*.hbs"]
reloadDelay: 300
port: CONST.PORT.BROWSERSYNC
return
Expand Down

0 comments on commit 90e2565

Please sign in to comment.