We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bba2d82 commit 0b1fda7Copy full SHA for 0b1fda7
Gruntfile.js
@@ -167,7 +167,12 @@ module.exports = function(grunt) {
167
grunt.registerTask('build-js', [ 'browserify', 'uglify' ]);
168
grunt.registerTask('build-css', [ 'sass', 'postcss' ]);
169
grunt.registerTask('build', [ 'build-js', 'build-css' ]);
170
- grunt.registerTask('develop', [ 'build', 'watch' ]);
+ grunt.registerTask('develop', function() {
171
+ // Set debug flag globally
172
+ grunt.option('debug', true);
173
+ // Run the tasks
174
+ grunt.task.run([ 'build', 'watch' ]);
175
+ });
176
grunt.registerTask('default', [ 'standards' ]);
177
178
};
0 commit comments