Skip to content

Commit 6f57d47

Browse files
committed
optimize watch perf on windows
1 parent dd8a8f6 commit 6f57d47

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Gruntfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,18 @@ module.exports = function (grunt) {
4545
},
4646
styles: {
4747
files: ['<%= yeoman.app %>/styles/{,*/}*.css'],
48-
tasks: ['newer:copy:styles', 'autoprefixer']
48+
tasks: ['newer:copy:styles', 'autoprefixer'],
49+
options: {
50+
spawn: false,
51+
livereload: true
52+
}
4953
},
5054
gruntfile: {
5155
files: ['Gruntfile.js']
5256
},
5357
livereload: {
5458
options: {
59+
spawn: false,
5560
livereload: '<%= connect.options.livereload %>'
5661
},
5762
files: [

0 commit comments

Comments
 (0)