Use development instead of local

This commit is contained in:
Adrien Maston
2025-12-09 10:26:16 +01:00
parent 6c53fdb525
commit 646aad8a50
+1 -1
View File
@@ -82,7 +82,7 @@ class ApplicationPlatform < PlatformAgent
def scoped_stylesheet_paths(scope = css_asset_name)
# Allow new stylesheets to be added in dev/test without restarting server
SCOPED_STYLESHEET_PATHS.clear if Rails.env.local?
SCOPED_STYLESHEET_PATHS.clear if Rails.env.development?
SCOPED_STYLESHEET_PATHS[scope] ||=
Rails.root.join("app/assets/stylesheets").then do |stylesheet_root|