From a05b0d94cd5548502a6c0a1bb8a4e4fe3f474ae6 Mon Sep 17 00:00:00 2001 From: Matt Rogers Date: Thu, 23 Sep 2021 13:39:12 -0500 Subject: [PATCH] Remove the warning about auto-regeneration on Windows (#8821) Merge pull request 8821 --- lib/jekyll/commands/build.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/jekyll/commands/build.rb b/lib/jekyll/commands/build.rb index f0397678..7fc6dfa7 100644 --- a/lib/jekyll/commands/build.rb +++ b/lib/jekyll/commands/build.rb @@ -73,17 +73,6 @@ module Jekyll # # Returns nothing. def watch(site, options) - # Warn Windows users that they might need to upgrade. - if Utils::Platforms.bash_on_windows? - Jekyll.logger.warn "", - "Auto-regeneration may not work on some Windows versions." - Jekyll.logger.warn "", - "Please see: https://github.com/Microsoft/BashOnWindows/issues/216" - Jekyll.logger.warn "", - "If it does not work, please upgrade Bash on Windows or "\ - "run Jekyll with --no-watch." - end - External.require_with_graceful_fail "jekyll-watch" Jekyll::Watcher.watch(options, site) end