Skip to content

Commit

Permalink
fix: change chokidar watch path for config file from js to json (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
V1RE authored Oct 8, 2023
1 parent c1acbf5 commit 806ef33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/router-cli/src/watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { generator } from './generator'

export async function watch() {
const configWatcher = chokidar.watch(
path.resolve(process.cwd(), 'tsr.config.js'),
path.resolve(process.cwd(), 'tsr.config.json'),
)

let watcher = new chokidar.FSWatcher({})
Expand Down

0 comments on commit 806ef33

Please sign in to comment.