diff --git a/packages/core/src/ground.js b/packages/core/src/ground.js index 5997116..f5ae8c0 100644 --- a/packages/core/src/ground.js +++ b/packages/core/src/ground.js @@ -10,6 +10,9 @@ function Ground(bootProc) { this.dataspace = new Dataspace(this, bootProc); this.stopHandlers = []; this.backgroundTaskCount = 0; + if (typeof window !== 'undefined') { + window._ground = this; + } } Ground._resolved = Promise.resolve();