Skip to content

Commit

Permalink
fix: Don't reload on dist/* changes (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 authored Dec 6, 2023
1 parent 3fb9d06 commit c8e7316
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export function manifestLoaderPlugin(options: ResolvedOptions): vite.Plugin {

// Runs during: watch
async watchChange(id) {
if (!browserOpened) return;
if (!browserOpened || id.startsWith(paths.outDir)) return;

const relativePath = path.relative(paths.rootDir, id);
logger.log(
Expand Down

0 comments on commit c8e7316

Please sign in to comment.