Skip to content

Commit

Permalink
Don't watch Javascript files under static_files
Browse files Browse the repository at this point in the history
  • Loading branch information
spAnser authored Mar 22, 2017
1 parent be1bedc commit 642fd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/grunt/watch.coffee
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = (grunt) ->
grunt.config 'watch',
static_files:
files: ['src/assets/**', 'src/media/**', '!src/assets/**/*.scss', 'src/static_files/**', 'src/plugins/**']
files: ['src/assets/**', 'src/media/**', '!src/assets/**/*.scss', '!src/assets/**/*.js', 'src/static_files/**', 'src/plugins/**']
tasks: ['copy:main', 'copy:css', 'assets_hash']
styles:
files: ['src/assets/**/*.scss']
Expand Down

0 comments on commit 642fd10

Please sign in to comment.