Remove duplicate watchInjectable

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-10-03 08:22:35 -04:00
1 parent 83ae428178
commit d9a34fea7a
2 files changed
+1 -15

No files matched your search

-14
View File
@@ -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;
@@ -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";