Skip to content

Commit

Permalink
Update vite-load.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Mar 8, 2024
1 parent d7c4634 commit 7109405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/core/config/vite-load.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { debug } from '../logger/core.js';

async function createViteServer(root: string, fs: typeof fsType): Promise<ViteDevServer> {
const viteServer = await createServer({
configFile: false /* prevent vite from trying to discover a vite conf file */,
configFile: false,
server: { middlewareMode: true, hmr: false, watch: null },
optimizeDeps: { noDiscovery: true },
clearScreen: false,
Expand Down

0 comments on commit 7109405

Please sign in to comment.