Automatic reload assets on when they change.

This commit is contained in:
Jan Böhmer 2022-03-04 20:19:43 +01:00
parent 27b8fbd5b2
commit 5cc5c53853

View file

@ -9,10 +9,10 @@ webpack_encore:
defer: true
# Uncomment (also under link_attributes) if using Turbo Drive
# https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change
# 'data-turbo-track': reload
# link_attributes:
'data-turbo-track': reload
link_attributes:
# Uncomment if using Turbo Drive
# 'data-turbo-track': reload
'data-turbo-track': reload
# If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
# crossorigin: 'anonymous'