Merged in bugfix/fix-HMR-with-gql-schema-gen (pull request #424)
Ignore minified GQL schema in vite watch
This commit is contained in:
commit
485ce827b4
|
|
@ -26,6 +26,10 @@ export default defineConfig(({ mode }) => {
|
|||
host: true,
|
||||
port: 5173,
|
||||
strictPort: true,
|
||||
watch: {
|
||||
// This fixes HMR but leads to schema changes not being taken into account unless the page is refreshed
|
||||
ignored: ["**/gql/dist/minifiedSchema.json"],
|
||||
},
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue