How to exclude files? #16
Unanswered
buddhaCode
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi Arne! This library uses The problem is that when providing several paths, it will treat it as match if any of them matches. In the example you provided, You could try using something like: refresh: ['resources/views/**!(-livewire.blade.php)'], |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I try to exclude some files from triggering a reload. I am using
laravel-vite-plugin
which has a dependency on your plugin to do the reloading stuff. I want to exclude files ending with-livewire.blade.php
. I tried the following config. But this doesn't work. Any idea why?The page reloads, whether I change
resources/views/dashboard.blade.php
orresources/views/counter-livewire.blade.php
. I want it to not reload onresources/views/counter-livewire.blade.php
.Best, Arne
Beta Was this translation helpful? Give feedback.
All reactions