Skip to content

Commit 53cc624

Browse files
committed
feat: add feedback for server reloads
1 parent 965892b commit 53cc624

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/cli.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25049,6 +25049,7 @@ async function cli() {
2504925049
if (!/.*\.\w+/.test(path)) return;
2505025050

2505125051
process_docs(project, pkg, docs, (data) => (ready_for_cf = data));
25052+
console.log(`> Change detected: ${path}. Docs rebuilt.`);
2505225053
});
2505325054

2505425055

src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export default async function cli() {
4848
if (!/.*\.\w+/.test(path)) return;
4949

5050
process_docs(project, pkg, docs, (data: CF_Key[]) => (ready_for_cf = data));
51+
console.log(`> Change detected: ${path}. Docs rebuilt.`);
5152
});
5253

5354
type RequestDocs = Request & {

0 commit comments

Comments
 (0)