Skip to content

Commit

Permalink
Minor: fixed workaround for todomvc demo & minified
Browse files Browse the repository at this point in the history
  • Loading branch information
gsvarovsky committed Dec 10, 2023
1 parent e11c606 commit 43e691a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"scripts": {
"link-locals": "npm link ../m-ld-spec ../json-rql ../typedoc-theme",
"clean": "rm -rf ext _site",
"build": "npm run clean && jest --silent --runInBand && tsc && typedoc && tsup",
"build": "npm run clean && jest --silent --runInBand && tsc && typedoc && tsup --minify",
"dev": "concurrently -r -k \"jest --watch --silent --runInBand\" \"tsc --watch\"",
"dev+log": "jest --watch --runInBand",
"compliance": "tsc --incremental && node compliance/test.js",
Expand Down
4 changes: 2 additions & 2 deletions src/rx/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { asapScheduler, Observable, observeOn } from 'rxjs';
import { asyncScheduler, Observable, observeOn } from 'rxjs';
import type { GraphSubject, Iri, MeldClone, MeldReadState, MeldUpdate } from '..';
import { updateSubject } from '..';
import { enablePatches, produceWithPatches } from 'immer';
Expand Down Expand Up @@ -46,7 +46,7 @@ export function watchQuery<T>(
}).pipe(
takeUntilComplete(meld.status),
// TODO: workaround: live lock throws due to overlapping states
observeOn(asapScheduler)
observeOn(asyncScheduler)
);
}

Expand Down

0 comments on commit 43e691a

Please sign in to comment.