Only listten to /workspaces path if it exists
MODIFY
lookbook/config/environments/development.rb
lookbook/config/environments/development.rb
@@ -19,7 +19,7 @@ Rails.application.configure do
# Enable server timing
config.server_timing = true
- config.hotwire_livereload.listen_paths << "/workspaces/css/src/"
+ config.hotwire_livereload.listen_paths << "/workspaces/css/src/" if File.exist?("/workspaces/css/src")
config.hotwire_livereload.listen_paths << Rails.root.join("../app/assets/javascripts")
config.hotwire_livereload.force_reload_paths << Rails.root.join("../app/assets/javascripts")

Only listten to /workspaces path if it exists (#1317)

Co-authored-by: Katie Langerman <langermank@github.com>

Co-authored-by: Katie Langerman <langermank@github.com>