lib/generators/half_pipe/templates/Gruntfile.js in half-pipe-0.3.0.alpha.1 vs lib/generators/half_pipe/templates/Gruntfile.js in half-pipe-0.3.0.alpha.2
- old
+ new
@@ -26,12 +26,16 @@
});
// Default task.
grunt.registerTask('default', 'build:debug');
- grunt.registerTask('build:debug', ['copy:prepare', 'sass:debug', 'copy:stage']);
- grunt.registerTask('build:public', ['copy:prepare', 'sass:public', 'copy:stage', 'requirejs:public', 'copy:public']);
+ // Configure asset building pipeline
+ grunt.registerTask('build', ['build:debug']);
+ grunt.registerTask('build:debug', ['clean', 'copy:prepare', 'requirejs:debug', 'sass:debug']);
+ grunt.registerTask('build:public', ['clean', 'copy:prepare', 'requirejs:public', 'sass:public', 'copy:finalize']);
+ // Configure preview server
+ grunt.registerTask('server', ['server:debug']);
grunt.registerTask('server:debug', ['build:debug', 'configureProxies', 'connect:debug', 'rails:server:start', 'watch']);
grunt.registerTask('server:public', ['build:public', 'configureProxies', 'connect:public:keepalive']);
};