Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Apr 16, 2024
1 parent abdb28e commit 1d4e3cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bridgetown-core/lib/bridgetown-core/commands/start.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def self.banner
end
summary "Start the web server, frontend bundler, and Bridgetown watcher"

def start
def start # rubocop:todo Metrics/PerceivedComplexity
Bridgetown.logger.writer.enable_prefix
Bridgetown::Commands::Build.print_startup_message
sleep 0.25
Expand Down
3 changes: 2 additions & 1 deletion bridgetown-core/lib/bridgetown-core/watcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def watch(site, options, &block)
Bridgetown::Hooks.trigger :site, :post_read, site
block&.call(site)
end
return if site.ssr?

return
end

Bridgetown.logger.info "Watcher:", "enabled." unless options[:start_command]
Expand Down

0 comments on commit 1d4e3cf

Please sign in to comment.