@travetto/compiler 6.0.2 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/support/server/server.ts +4 -1
package/package.json
CHANGED
package/support/server/server.ts
CHANGED
|
@@ -22,7 +22,6 @@ export class CompilerServer {
|
|
|
22
22
|
#listenersAll = new Set<http.ServerResponse>();
|
|
23
23
|
#listeners: Partial<Record<CompilerEventType | 'all', Record<string, http.ServerResponse>>> = {};
|
|
24
24
|
#shutdown = new AbortController();
|
|
25
|
-
signal = this.#shutdown.signal;
|
|
26
25
|
info: CompilerServerInfo;
|
|
27
26
|
#client: CompilerClient;
|
|
28
27
|
#url: string;
|
|
@@ -53,6 +52,10 @@ export class CompilerServer {
|
|
|
53
52
|
setMaxListeners(1000, this.signal);
|
|
54
53
|
}
|
|
55
54
|
|
|
55
|
+
get signal(): AbortSignal {
|
|
56
|
+
return this.#shutdown.signal;
|
|
57
|
+
}
|
|
58
|
+
|
|
56
59
|
get mode(): CompilerMode {
|
|
57
60
|
return this.info.mode;
|
|
58
61
|
}
|