feature: add SERVERUS_TYPESCRIPT_IMPORT_LOGGING
environment variable
feature(wip): reload on changes
This commit is contained in:
parent
62eba8612b
commit
26125f4f11
5 changed files with 18 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue