From: Jérôme Benoit Date: Wed, 8 Nov 2023 14:35:40 +0000 (+0100) Subject: fix: disable simulator restart at spurious configuration file change X-Git-Tag: v1.2.24~33 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f6591eb9f063490a9b4950ff782c1026281e81bc;p=e-mobility-charging-stations-simulator.git fix: disable simulator restart at spurious configuration file change detection Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/Bootstrap.ts b/src/charging-station/Bootstrap.ts index 465d5bf2..0dbf9510 100644 --- a/src/charging-station/Bootstrap.ts +++ b/src/charging-station/Bootstrap.ts @@ -99,7 +99,8 @@ export class Bootstrap extends EventEmitter { performanceStorageConfiguration.uri!, this.logPrefix(), )); - Configuration.configurationChangeCallback = async () => Bootstrap.getInstance().restart(false); + // FIXME: Disabled until the spurious configuration file change detection on MacOS is identified + // Configuration.configurationChangeCallback = async () => Bootstrap.getInstance().restart(false); } public static getInstance(): Bootstrap {