Skip to content

Commit

Permalink
feat(app): Separate client and server watchers
Browse files Browse the repository at this point in the history
  • Loading branch information
jeef3 committed Nov 21, 2013
1 parent 56332de commit 0ff8ffb
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions templates/common/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,19 @@ module.exports = function (grunt) {
files: ['<%%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],
tasks: ['compass:server', 'autoprefixer']
},<% } %>
livereload: {
files: [
'<%= yeoman.app %>/{,*//*}*.html',
'{.tmp,<%= yeoman.app %>}/styles/{,*//*}*.css',
'{.tmp,<%= yeoman.app %>}/scripts/{,*//*}*.js',
'<%= yeoman.app %>/images/{,*//*}*.{png,jpg,jpeg,gif,webp,svg}',
],
options: {
livereload: true
}
},
express: {
files: [
'<%%= yeoman.app %>/{,*//*}*.html',
'{.tmp,<%%= yeoman.app %>}/styles/{,*//*}*.css',
'{.tmp,<%%= yeoman.app %>}/scripts/{,*//*}*.js',
'<%%= yeoman.app %>/images/{,*//*}*.{png,jpg,jpeg,gif,webp,svg}',
'server.js',
'lib/{,*//*}*.{js,json}'
],
Expand Down

0 comments on commit 0ff8ffb

Please sign in to comment.