Skip to content

Commit f86f75a

Browse files
committed
fix(plugins): fix Vite hmr in Windows
1 parent 909f150 commit f86f75a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/plugins/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ export const unplugin = createUnplugin<Options>((options, meta) => {
112112

113113
await initPlugin();
114114

115+
if (isWindows) {
116+
return;
117+
}
118+
115119
return {
116120
server: {
117121
watch: {

0 commit comments

Comments
 (0)