Skip to content

Commit

Permalink
Only listten to /workspaces path if it exists (#1317)
Browse files Browse the repository at this point in the history
Co-authored-by: Katie Langerman <langermank@github.com>

Co-authored-by: Katie Langerman <langermank@github.com>
  • Loading branch information
keithamus and langermank authored Aug 17, 2022
1 parent 051d25e commit 6d8d289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lookbook/config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# 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")

Expand Down

0 comments on commit 6d8d289

Please sign in to comment.