Skip to content

Commit a05b0d9

Browse files
authored
Remove the warning about auto-regeneration on Windows (#8821)
Merge pull request 8821
1 parent 86d6b04 commit a05b0d9

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

lib/jekyll/commands/build.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,6 @@ def build(site, options)
7373
#
7474
# Returns nothing.
7575
def watch(site, options)
76-
# Warn Windows users that they might need to upgrade.
77-
if Utils::Platforms.bash_on_windows?
78-
Jekyll.logger.warn "",
79-
"Auto-regeneration may not work on some Windows versions."
80-
Jekyll.logger.warn "",
81-
"Please see: https://github.com/Microsoft/BashOnWindows/issues/216"
82-
Jekyll.logger.warn "",
83-
"If it does not work, please upgrade Bash on Windows or "\
84-
"run Jekyll with --no-watch."
85-
end
86-
8776
External.require_with_graceful_fail "jekyll-watch"
8877
Jekyll::Watcher.watch(options, site)
8978
end

0 commit comments

Comments
 (0)