Skip to content

Commit

Permalink
test: remove chokidar polling
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Apr 23, 2021
1 parent 40b0611 commit f08f81c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/playground/ssr-framework/vue-framework/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ async function startServer(root, port, isProduction) {
logLevel: 'warn',
optimizeDeps: { entries: ['**/pages/*.vue'] },
server: {
middlewareMode: true,
middlewareMode: true
/*
watch: {
// During tests we edit the files too fast and sometimes chokidar
// misses change events, so enforce polling for consistency
usePolling: true,
interval: 100
}
*/
}
})
app.use(viteServer.middlewares)
Expand Down

0 comments on commit f08f81c

Please sign in to comment.