diff --git a/src/common/fs/watch.injectable.ts b/src/common/fs/watch.injectable.ts deleted file mode 100644 index eddee2da2e..0000000000 --- a/src/common/fs/watch.injectable.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright (c) OpenLens Authors. All rights reserved. - * Licensed under MIT License. See LICENSE in root directory for more information. - */ -import { getInjectable } from "@ogre-tools/injectable"; -import { watch } from "chokidar"; - -const watchInjectable = getInjectable({ - id: "watch", - instantiate: () => watch, - causesSideEffects: true, -}); - -export default watchInjectable; diff --git a/src/main/catalog-sources/kubeconfig-sync/watch-file-changes.injectable.ts b/src/main/catalog-sources/kubeconfig-sync/watch-file-changes.injectable.ts index 91709afee0..2fb03c12d4 100644 --- a/src/main/catalog-sources/kubeconfig-sync/watch-file-changes.injectable.ts +++ b/src/main/catalog-sources/kubeconfig-sync/watch-file-changes.injectable.ts @@ -13,7 +13,7 @@ import { inspect } from "util"; import type { CatalogEntity } from "../../../common/catalog"; import type { Cluster } from "../../../common/cluster/cluster"; import fsInjectable from "../../../common/fs/fs.injectable"; -import watchInjectable from "../../../common/fs/watch.injectable"; +import watchInjectable from "../../../common/fs/watch/watch.injectable"; import type { Disposer } from "../../../common/utils"; import { getOrInsertWith, iter } from "../../../common/utils"; import diffChangedKubeconfigInjectable from "./diff-changed-kubeconfig.injectable";