We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ba157bb + 0017b6f commit 2a4001fCopy full SHA for 2a4001f
app/templates/Gruntfile.js
@@ -54,13 +54,17 @@ module.exports = function (grunt) {
54
url: 'http://localhost:<%%= express.options.port %>'
55
}
56
},
57
- watch: {
+ watch: {<% if(filters.babel) { %>
58
+ babel: {
59
+ files: ['<%%= yeoman.client %>/{app,components}/**/!(*.spec|*.mock).js'],
60
+ tasks: ['newer:babel:client']
61
+ },<% } %>
62
injectJS: {
63
files: [
64
'<%%= yeoman.client %>/{app,components}/**/!(*.spec|*.mock).js',
65
'!<%%= yeoman.client %>/app/app.js'
66
],
- tasks: [<% if(filters.babel) { %>'newer:babel:client', <% } %>'injector:scripts']
67
+ tasks: ['injector:scripts']
68
69
injectCss: {
70
files: ['<%%= yeoman.client %>/{app,components}/**/*.css'],
0 commit comments