2 - Fix Vite hot reload in dev container
This commit is contained in:
parent
a94aabe604
commit
e5a02c3c32
2 changed files with 4 additions and 2 deletions
|
|
@ -36,8 +36,6 @@ services:
|
|||
CACHE_DRIVER: "${CACHE_DRIVER:-file}"
|
||||
QUEUE_CONNECTION: "${QUEUE_CONNECTION:-sync}"
|
||||
MAIL_MAILER: "${MAIL_MAILER:-log}"
|
||||
VITE_HOST: "0.0.0.0"
|
||||
VITE_PORT: "5174"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
|
|
|||
|
|
@ -32,5 +32,9 @@ export default defineConfig({
|
|||
host: 'localhost',
|
||||
clientPort: 5174,
|
||||
},
|
||||
watch: {
|
||||
usePolling: true,
|
||||
interval: 1000,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue