1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-09-24 01:58:50 +02:00

add --incremental flag to dev build

This commit is contained in:
Matthias Kretschmann 2015-10-29 21:23:01 +01:00
parent af4db388f9
commit 8b431ab622

View File

@ -117,7 +117,7 @@ gulp.task('jekyll', function(cb) {
if (isProduction) { if (isProduction) {
var jekyll = spawn('bundle', ['exec', 'jekyll', 'build', '--lsi'], { stdio: 'inherit' }); var jekyll = spawn('bundle', ['exec', 'jekyll', 'build', '--lsi'], { stdio: 'inherit' });
} else { } else {
var jekyll = spawn('bundle', ['exec', 'jekyll', 'build', '--drafts', '--future'], { stdio: 'inherit' }); var jekyll = spawn('bundle', ['exec', 'jekyll', 'build', '--drafts', '--future', '--incremental'], { stdio: 'inherit' });
} }
jekyll.on('exit', function(code) { jekyll.on('exit', function(code) {