Skip to content

Commit 89838b3

Browse files
committed
grunt v 0.4 task registration as an array
1 parent 97401d0 commit 89838b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/grunt/Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ module.exports = function (grunt) {
2828

2929
grunt.loadTasks('../../tasks');
3030

31-
grunt.registerTask('reload', 'tinylr-start watch');
31+
grunt.registerTask('reload', ['tinylr-start', 'watch']);
3232
};

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ grunt.initConfig({
159159
}
160160
});
161161

162-
grunt.registerTask('reload', 'tinylr-start watch');
162+
grunt.registerTask('reload', ['tinylr-start', 'watch']);
163163
```
164164

165165

0 commit comments

Comments
 (0)