lib/nanoc/cli/command_runner.rb in nanoc-4.3.5 vs lib/nanoc/cli/command_runner.rb in nanoc-4.3.6

- old
+ new

@@ -43,21 +43,21 @@ # Asserts that the current working directory contains a site and loads the site into memory. # # @return [void] def load_site(preprocess: false) - print 'Loading site… ' - $stdout.flush + $stderr.print 'Loading site… ' + $stderr.flush if site.nil? raise ::Nanoc::Int::Errors::GenericTrivial, 'The current working directory does not seem to be a Nanoc site.' end if preprocess site.compiler.action_provider.preprocess(site) end - puts 'done' + $stderr.puts 'done' end # @return [Boolean] true if debug output is enabled, false if not # # @see Nanoc::CLI.debug?