Fix crash in development environment with no prebuilt assets and no vite dev server running (#35177)

pull/35189/head
Claire 4 months ago committed by GitHub
parent 91741214e1
commit dbb20f76a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -9,7 +9,7 @@ module ViteRuby::ManifestIntegrityExtension
def load_manifest
# Invalidate the name lookup cache when reloading manifest
@name_lookup_cache = load_name_lookup_cache unless dev_server_running?
@name_lookup_cache = nil unless dev_server_running?
super
end

Loading…
Cancel
Save