Skip to content

Commit

Permalink
quick live fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKamaev committed Sep 11, 2019
1 parent e8150ca commit 19bf008
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/live/interfaces.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export interface LiveModeController {
stop (): Promise<void>;
restart (): Promise<void>;
exit (): Promise<void>;
toggleWatching (): void;
_stop (): Promise<void>;
_restart (): Promise<void>;
_exit (): Promise<void>;
_toggleWatching (): void;
}
8 changes: 4 additions & 4 deletions src/live/keyboard-observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,18 @@ export default class LiveModeKeyboardEventObserver {
}

private _stop (): void {
this.controllers.forEach(c => c.stop());
this.controllers.forEach(c => c._stop());
}

private _restart (): void {
this.controllers.forEach(c => c.restart());
this.controllers.forEach(c => c._restart());
}

private _exit (): void {
this.controllers.forEach(c => c.exit());
this.controllers.forEach(c => c._exit());
}

private _toggleWatching (): void {
this.controllers.forEach(c => c.toggleWatching());
this.controllers.forEach(c => c._toggleWatching());
}
}

0 comments on commit 19bf008

Please sign in to comment.