Skip to content

Commit 5457981

Browse files
committed
Refactor application setup and watch functionality.
1 parent b1ce74c commit 5457981

File tree

3 files changed

+625
-389
lines changed

3 files changed

+625
-389
lines changed

dist/app.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ import Handoff from '.';
66
*/
77
declare const buildApp: (handoff: Handoff) => Promise<void>;
88
/**
9-
* Watch the next js application
9+
* Watch the next js application.
10+
* Starts a custom dev server with Handoff-specific watchers and hot-reloading.
11+
*
1012
* @param handoff
1113
*/
1214
export declare const watchApp: (handoff: Handoff) => Promise<void>;
1315
/**
14-
* Watch the next js application
16+
* Watch the next js application using the standard Next.js dev server.
17+
* This is useful for debugging the Next.js app itself without the Handoff overlay.
18+
*
1519
* @param handoff
1620
*/
1721
export declare const devApp: (handoff: Handoff) => Promise<void>;

0 commit comments

Comments
 (0)