1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-24 10:16:16 +01: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) {
var jekyll = spawn('bundle', ['exec', 'jekyll', 'build', '--lsi'], { stdio: 'inherit' });
} 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) {