feature: add SERVERUS_TYPESCRIPT_IMPORT_LOGGING environment variable

feature(wip): reload on changes
This commit is contained in:
Andy Burke 2025-06-25 16:53:45 -07:00
parent 62eba8612b
commit 26125f4f11
5 changed files with 18 additions and 7 deletions

View file

@ -31,6 +31,7 @@ export type SERVER_OPTIONS = {
hostname?: string;
port?: number;
logging?: boolean | LOGGER;
watch?: boolean;
};
/**
@ -176,6 +177,9 @@ export class SERVER {
Deno.addSignalListener('SIGTERM', this.shutdown_binding);
Deno.addSignalListener('SIGINT', this.shutdown_binding);
if (this.options.watch) {
Deno.watchFs;
}
return this;
}