Skip to content

Commit 92ec419

Browse files
add property to check if VM is up to date
1 parent ec8f5eb commit 92ec419

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/sandbox.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ export class SandboxSession extends Disposable {
111111
this.addDisposable(this.pitcherClient);
112112
}
113113

114+
/**
115+
* Check if the VM process is up to date. To update a restart is required
116+
*/
117+
get isUpToDate() {
118+
return this.pitcherClient.isUpToDate();
119+
}
120+
114121
/**
115122
* The ID of the sandbox.
116123
*/

0 commit comments

Comments
 (0)