Skip to content

Commit

Permalink
fix: init() should initialize network monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hyndman committed Sep 13, 2024
1 parent 203cec7 commit a6b90d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ export const init = (options?: TtvcOptions) => {

Logger.info('init()');

// initialize network monitoring
getNetworkIdleObservable();

calculator = getVisuallyCompleteCalculator();
whenActivated(() => {
void calculator.start();
Expand Down

0 comments on commit a6b90d8

Please sign in to comment.