Update watcher function. Add tests
This commit is contained in:
Vendored
+1
-1
@@ -44,7 +44,7 @@ export type BunextConfig = {
|
||||
};
|
||||
port?: number;
|
||||
development?: boolean;
|
||||
middleware?: (params: BunextConfigMiddlewareParams) => Promise<Response | undefined> | Response | undefined;
|
||||
middleware?: (params: BunextConfigMiddlewareParams) => Promise<Response | Request | undefined> | Response | Request | undefined;
|
||||
defaultCacheExpiry?: number;
|
||||
websocket?: WebSocketHandler<any>;
|
||||
serverOptions?: ServeOptions;
|
||||
|
||||
Reference in New Issue
Block a user