Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Return initial fetch promise from start()
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelelliot committed Jan 16, 2020
1 parent 52e6055 commit 4d9fd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export default function createWatcher(model, config) {
resolveFetchPromise: state.initialFetchResolver
});
}
return watcher;
return state.initialFetchPromise;
},
startWatch() {
return this.start();
Expand Down

0 comments on commit 4d9fd26

Please sign in to comment.