We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16b6d08 commit 02ece3bCopy full SHA for 02ece3b
1 file changed
packages/project/lib/specifications/Project.js
@@ -20,6 +20,7 @@ class Project extends Specification {
20
#currentStage;
21
#currentStageReadIndex = -1;
22
#currentStageName = "<source>";
23
+ #workspaceVersion = 0;
24
25
constructor(parameters) {
26
super(parameters);
@@ -370,8 +371,9 @@ class Project extends Specification {
370
371
*
372
*/
373
sealWorkspace() {
374
+ this.#workspaceVersion++;
375
this.#currentStage = null; // Unset stage - This blocks further getWorkspace() calls
- this.#currentStageName = "<final>";
376
+ this.#currentStageName = `<final - workspace version ${this.#workspaceVersion}>`;
377
this.#currentStageReadIndex = this.#stages.length - 1; // Read from all stages
378
379
// Unset "current" reader/writer. They will be recreated on demand
0 commit comments