Skip to content

Commit 1ffcfc4

Browse files
committed
switch to polling
1 parent 3e593e3 commit 1ffcfc4

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

packages/kit/test/apps/amp/svelte.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ const config = {
66
server: {
77
// TODO: required to support ipv6, remove on vite 3
88
// https://github.com/vitejs/vite/issues/7075
9-
host: 'localhost'
9+
host: 'localhost',
10+
watch: {
11+
usePolling: true
12+
}
1013
}
1114
}
1215
}

packages/kit/test/apps/basics/svelte.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ const config = {
2222
host: 'localhost',
2323
fs: {
2424
allow: [path.resolve('../../../src')]
25+
},
26+
watch: {
27+
usePolling: true
2528
}
2629
}
2730
},

packages/kit/test/apps/options-2/svelte.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ const config = {
1616
host: 'localhost',
1717
fs: {
1818
allow: [path.resolve('../../../src')]
19+
},
20+
watch: {
21+
usePolling: true
1922
}
2023
}
2124
}

packages/kit/test/apps/options/svelte.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ const config = {
3333
host: 'localhost',
3434
fs: {
3535
allow: [path.resolve('../../../src')]
36+
},
37+
watch: {
38+
usePolling: true
3639
}
3740
}
3841
},

0 commit comments

Comments
 (0)