Skip to content

Commit

Permalink
Remove the warning about auto-regeneration on Windows (#8821)
Browse files Browse the repository at this point in the history
Merge pull request 8821
  • Loading branch information
mattr- committed Sep 23, 2021
1 parent 86d6b04 commit a05b0d9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/jekyll/commands/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,6 @@ def build(site, options)
#
# 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
Expand Down

0 comments on commit a05b0d9

Please sign in to comment.