summaryrefslogtreecommitdiffstats
path: root/bin/gitbook.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gitbook.js')
-rwxr-xr-xbin/gitbook.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitbook.js b/bin/gitbook.js
index 84f5a8f..f79efae 100755
--- a/bin/gitbook.js
+++ b/bin/gitbook.js
@@ -27,7 +27,6 @@ build.command(prog.command('serve [source_dir]'))
.description('Build then serve a gitbook from a directory')
.option('-p, --port <port>', 'Port for server to listen on', 4000)
.option('--no-watch', 'Disable restart with file watching')
-.option('--no-cache', 'Disable cache manifest generation')
.action(function(dir, options) {
var server = new Server();
@@ -46,6 +45,7 @@ build.command(prog.command('serve [source_dir]'))
server.stop()
.then(function() {
return build.folder(dir, _.extend(options || {}, {
+ cache: false,
defaultsPlugins: ["livereload"]
}));
})