Emit when enabled

This commit is contained in:
Romain Vigier
2020-12-20 18:58:13 +00:00
committed by Romain
parent 4dd6e6f17e
commit 584ca38d92
+1
View File
@@ -43,6 +43,7 @@ var TimerSchedule = class {
enable() {
logDebug('Enabling Schedule Timer...');
this._watchForTimeChange();
this.emit('time-changed', this.time);
logDebug('Schedule Timer enabled.');
}