diff --git a/build/utils/update.js b/build/utils/update.js index 2f4266d2..1ecc7619 100644 --- a/build/utils/update.js +++ b/build/utils/update.js @@ -26,7 +26,8 @@ limitations under the License. if (!isRoot()) { notifier = updateNotifier({ - pkg: packageJSON + pkg: packageJSON, + updateCheckInterval: 0 }); } diff --git a/lib/utils/update.coffee b/lib/utils/update.coffee index 16d291da..310f0437 100644 --- a/lib/utils/update.coffee +++ b/lib/utils/update.coffee @@ -22,7 +22,13 @@ packageJSON = require('../../package.json') # running time ask for updated, however this can lead # to ugly EPERM issues if those files are created as root. if not isRoot() - notifier = updateNotifier(pkg: packageJSON) + notifier = updateNotifier + pkg: packageJSON + + # Force update notification alert + # to be shown every time there is + # an update. + updateCheckInterval: 0 exports.hasAvailableUpdate = -> return notifier?