We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17d325a commit 495ce5dCopy full SHA for 495ce5d
src/core/context.ts
@@ -66,10 +66,10 @@ export class Context {
66
return
67
68
this._server = server
69
- this.setupWather(server.watcher)
+ this.setupWatcher(server.watcher)
70
}
71
72
- setupWather(watcher: fs.FSWatcher) {
+ setupWatcher(watcher: fs.FSWatcher) {
73
const { globs } = this.options
74
75
watcher
src/core/unplugin.ts
@@ -47,7 +47,7 @@ export default createUnplugin<Options>((options = {}) => {
47
48
49
if (config.build.watch && config.command === 'build')
50
- ctx.setupWather(chokidar.watch(ctx.options.globs))
+ ctx.setupWatcher(chokidar.watch(ctx.options.globs))
51
},
52
configureServer(server) {
53
ctx.setupViteServer(server)
0 commit comments