mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-22 19:01:02 +01:00
- Add CHOKIDAR_USEPOLLING=true to frontend service environment - Update Node.js version to 18 in frontend Dockerfile - Create vite.config.js with usePolling option enabled
13 lines
258 B
JavaScript
13 lines
258 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: '0.0.0.0',
|
|
port: 3000,
|
|
watch: {
|
|
usePolling: true,
|
|
},
|
|
},
|
|
}) |