Remove the warning about auto-regeneration on Windows (#8821)
Merge pull request 8821
This commit is contained in:
		
							parent
							
								
									86d6b04a97
								
							
						
					
					
						commit
						a05b0d94cd
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue