diff --git a/packages/docusaurus/bin/beforeCli.js b/packages/docusaurus/bin/beforeCli.js index 7daa30b817..91a265a4c3 100644 --- a/packages/docusaurus/bin/beforeCli.js +++ b/packages/docusaurus/bin/beforeCli.js @@ -67,7 +67,7 @@ function ignoreUpdate(update) { if ( notifier.config && notifier.update && - notifier.update.current !== notifier.update.latest + semver.lt(notifier.update.current, notifier.update.latest) ) { // Because notifier clears cached data after reading it, leading to notifier not consistently displaying the update // See https://github.com/yeoman/update-notifier/issues/209