Skip to content

Commit eb1f652

Browse files
committed
Add Livewire path to default refresh paths
1 parent 9bae0c1 commit eb1f652

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

UPGRADE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Adds support for Vite 5 and removes support for Vite 3 and 4.
66
- Introduces an `npx clean-orphaned-assets` command to clean orphaned assets in Vite's build directories.
77
- Introduces Valet / Herd TLS certificate auto detection.
8+
- Adds `app/Livewire/**` to the default "refresh" paths.
89

910
### Notable Changes
1011

src/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,11 @@ type DevServerUrl = `${'http'|'https'}://${string}:${number}`
8989
let exitHandlersBound = false
9090

9191
export const refreshPaths = [
92+
'app/Livewire/**',
9293
'app/View/Components/**',
93-
'resources/views/**',
94-
'resources/lang/**',
9594
'lang/**',
95+
'resources/lang/**',
96+
'resources/views/**',
9697
'routes/**',
9798
]
9899

0 commit comments

Comments
 (0)