Skip to content

Commit

Permalink
Merge pull request #47 from thisissoon/feature/watch-new-files
Browse files Browse the repository at this point in the history
Feature: Watch new files
  • Loading branch information
edoparearyee committed Dec 15, 2015
2 parents 7ddc47d + 47eeddf commit 47f9ed2
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,49 +59,50 @@ module.exports = function (grunt) {
watch: {
options: {
spawn: true,
livereload: true
livereload: true,
event: ['changed', 'added', 'deleted']
},
html: {
files: [
'./app/index.html',
'app/index.html',

'./app/partials/*.html',
'./app/partials/**/*.html',
'./app/partials/**/**/*.html',
'app/partials/*.html',
'app/partials/**/*.html',
'app/partials/**/**/*.html',

'./modules/*.html',
'./modules/**/*.html',
'./modules/**/**/*.html'
'modules/*.html',
'modules/**/*.html',
'modules/**/**/*.html'
],
tasks: ['htmllint']
},
css: {
files: [
'./app/less/*.less',
'./app/less/**/*.less',
'./app/less/**/**/*.less'
'app/less/*.less',
'app/less/**/*.less',
'app/less/**/**/*.less'
],
tasks: ['lesslint','less:development']
},
javascript: {
files: [
'./app/data/*.json',
'./app/data/**/*.json',
'./app/data/**/**/*.json',
'app/data/*.json',
'app/data/**/*.json',
'app/data/**/**/*.json',

'./app/js/*.js',
'./app/js/**/*.js',
'./app/js/**/**/*.js',
'app/js/*.js',
'app/js/**/*.js',
'app/js/**/**/*.js',

'./tests/unit/*.js',
'./tests/unit/**/*.js',
'./tests/unit/**/**/*.js'
'tests/unit/*.js',
'tests/unit/**/*.js',
'tests/unit/**/**/*.js'
],
tasks: ['jshint', 'test:unit:development']
},
scriptsJson: {
files: [
'./scripts.json'
'scripts.json'
],
tasks: ['sails-linker']
}
Expand Down

0 comments on commit 47f9ed2

Please sign in to comment.