Remove the warning about auto-regeneration on Windows (#8821)

Merge pull request 8821
This commit is contained in:
Matt Rogers 2021-09-23 13:39:12 -05:00 committed by GitHub
parent 86d6b04a97
commit a05b0d94cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

View File

@ -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