Skip to content

Instantly share code, notes, and snippets.

@lcds90
Last active July 23, 2022 23:36
Show Gist options
  • Save lcds90/02ec27e90ae08aecb899652a372e7b70 to your computer and use it in GitHub Desktop.
Save lcds90/02ec27e90ae08aecb899652a372e7b70 to your computer and use it in GitHub Desktop.
[FIX] Nuxt3 - Hot Reload
import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
/* ... */
vite: {
server: {
watch: {
usePolling: true
}
}
}
})
@lcds90
Copy link
Author

lcds90 commented Jul 23, 2022

Fix when layout folder doesn't re-render with any changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment