Skip to content

Commit bbcefcb

Browse files
authored
Add warning about adblockers with vite:watch
1 parent 69da419 commit bbcefcb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

console/asset-compilation-vite.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ The `vite:watch` command is similar to the `vite:compile` command, except that i
146146

147147
With this command, only one package can be provided and watched at any one time.
148148

149+
>**NOTE:** You may need to disable your adblocker when using `vite:watch` as it uses hot reloading for the asset files and loads them directly from a separate port on your machine, which some adblock extensions do not like.
150+
149151
## Manual Vite configuration
150152

151153
The Vite configuration file (`vite.config.mjs`) is a configuration file that manages the configuration of Laravel Vite itself. In conjunction with the `package.json` file that defines your dependencies, this file defines how Laravel Vite will compile your assets.

0 commit comments

Comments
 (0)