added option to skip asset compilation on initial grunt startup with --skip flag

v1.18.x
psychobunny 9 years ago
parent b18052210d
commit efb6a9fe7e

@ -69,7 +69,13 @@ module.exports = function(grunt) {
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['watch']);
if (grunt.option('skip')) {
grunt.registerTask('default', ['watch:serverUpdated']);
} else {
grunt.registerTask('default', ['watch']);
}
env.NODE_ENV = 'development';

Loading…
Cancel
Save