1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 01:30:01 +01:00

assets only grunt dev server

This commit is contained in:
Matthias Kretschmann 2013-12-10 21:08:28 +01:00
parent 9e14b21281
commit 1a3becca04

View File

@ -225,7 +225,7 @@ module.exports = function(grunt){
'watch' 'watch'
]); ]);
// Dev server // Full Dev server
grunt.registerTask('server', [ grunt.registerTask('server', [
'rsync:copy_media', 'rsync:copy_media',
'jekyll:development', 'jekyll:development',
@ -237,6 +237,16 @@ module.exports = function(grunt){
'watch' 'watch'
]); ]);
// Assets only Dev server
grunt.registerTask('server-assets', [
'less',
'cmq',
'cssmin',
'uglify',
'connect',
'watch'
]);
// Production build // Production build
grunt.registerTask('build', [ grunt.registerTask('build', [
'clean', 'clean',