Created
January 16, 2024 17:30
-
-
Save facundo-moran/e216364395b5733750e232b4ca568ab4 to your computer and use it in GitHub Desktop.
ViteJS config para hot reloading en contenedor docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineConfig } from 'vite' | |
import react from '@vitejs/plugin-react' | |
// https://vitejs.dev/config/ | |
export default defineConfig({ | |
plugins: [react()], | |
server: { | |
watch: { | |
usePolling: true, | |
}, | |
host: true, | |
strictPort: true, | |
port: 5173, | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment