diff --git a/src/cli/dev.ts b/src/cli/dev.ts index b602560..64357d3 100644 --- a/src/cli/dev.ts +++ b/src/cli/dev.ts @@ -102,7 +102,7 @@ export async function dev(opts: { port: number, open: boolean }) { const hot_update_server = create_hot_update_server(dev_port); - watch_files(`${locations.routes()}/**/*`, ['add', 'unlink'], () => { + watch_files(locations.routes(), ['add', 'unlink'], () => { const routes = create_routes(); create_main_manifests({ routes, dev_port }); });