-
Notifications
You must be signed in to change notification settings - Fork 0
/
watch.js
28 lines (28 loc) · 767 Bytes
/
watch.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module.exports = {
options: {
spawn: false,
livereload: false
},
javascript: {
files: [ '<%= paths.js.src %>/**/*.js', '<%= paths.grunt %>/config/concat.js' ],
tasks: [ 'concat', 'notify:javascript', 'copy:www' ]
},
sass: {
files: [ '<%= paths.css.src %>/**/*.scss' ],
tasks: [ 'sass', 'postcss', 'notify:sass', 'copy:www' ]
},
svg: {
files: [ '<%= paths.img.src %>/**/*.svg' ],
tasks: [ 'svg_sprite', 'notify:svg' ]
},
dist: {
files: [ '<%= paths.dist %>/**/*' ],
tasks: [ 'copy:www', 'notify:www' ]
},
tasks: {
options: {
reload: true
},
files: [ 'Gruntfile.js', '<%= paths.grunt %>/**/*' ]
}
};