Skip to content

Commit

Permalink
fix: watch dir
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Feb 4, 2023
1 parent 94fdd9a commit da2d183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function publicTypescript(options: VitePluginOptions = {}) {
configureServer(server) {
const { ws } = server

const watcher = new Watcher(path.resolve(config.root, 'publicTypescript'), {
const watcher = new Watcher(path.resolve(config.root, opts.inputDir), {
ignoreInitial: true,
recursive: true,
renameDetection: true,
Expand Down

0 comments on commit da2d183

Please sign in to comment.