From 9e0dee66437389faa1cb39d6c9ff89c3765ed7fb Mon Sep 17 00:00:00 2001 From: Martin Lysk Date: Tue, 21 May 2024 10:47:39 +0200 Subject: [PATCH] fixes wrong fsWatch cleanup reference --- inlang/source-code/sdk/src/createMessagesQuery.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inlang/source-code/sdk/src/createMessagesQuery.ts b/inlang/source-code/sdk/src/createMessagesQuery.ts index fc3044209d..bba17f92d1 100644 --- a/inlang/source-code/sdk/src/createMessagesQuery.ts +++ b/inlang/source-code/sdk/src/createMessagesQuery.ts @@ -1,13 +1,12 @@ import type { Message } from "@inlang/message" import { ReactiveMap } from "./reactivity/map.js" -import { createEffect } from "./reactivity/solid.js" +import { createEffect, onCleanup } from "./reactivity/solid.js" import { createSubscribable } from "./loadProject.js" import type { InlangProject, MessageQueryApi, MessageQueryDelegate } from "./api.js" import type { ResolvedPluginApi } from "./resolve-modules/plugins/types.js" import type { resolveModules } from "./resolve-modules/resolveModules.js" import { createNodeishFsWithWatcher } from "./createNodeishFsWithWatcher.js" import type { NodeishFilesystem } from "@lix-js/fs" -import { onCleanup } from "solid-js" import { stringifyMessage } from "./storage/helper.js" import { acquireFileLock } from "./persistence/filelock/acquireFileLock.js" import _debug from "debug"