diff --git a/bin/ghost b/bin/ghost index 2423066a8..6d0236092 100755 --- a/bin/ghost +++ b/bin/ghost @@ -4,8 +4,10 @@ // provide a title to the process process.title = 'ghost'; -// Check for CLI updates -require('../lib/utils/update-notifier'); +// Check for CLI updates if not running `ghost run` +if (process.argv.length > 2 && process.argv[2] !== 'run') { + require('../lib/utils/update-notifier'); +} const yargs = require('yargs'); const bootstrap = require('../lib/bootstrap');