memorix 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +2 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2569,6 +2569,7 @@ async function createMemorixServer(cwd) {
|
|
|
2569
2569
|
if (reloadDebounce) clearTimeout(reloadDebounce);
|
|
2570
2570
|
reloadDebounce = setTimeout(async () => {
|
|
2571
2571
|
try {
|
|
2572
|
+
await resetDb();
|
|
2572
2573
|
await initObservations(projectDir2);
|
|
2573
2574
|
const count2 = await reindexObservations();
|
|
2574
2575
|
if (count2 > 0) {
|
|
@@ -3083,6 +3084,7 @@ var init_server = __esm({
|
|
|
3083
3084
|
init_esm_shims();
|
|
3084
3085
|
init_graph();
|
|
3085
3086
|
init_observations();
|
|
3087
|
+
init_orama_store();
|
|
3086
3088
|
init_auto_relations();
|
|
3087
3089
|
init_entity_extractor();
|
|
3088
3090
|
init_engine();
|