ReporterTestable.None Is Good - DevComp

This commit is contained in:
thororen1234 2025-01-09 07:34:21 -05:00
parent 58fb1e92ad
commit 218dadbe04

View file

@ -22,9 +22,7 @@ import { Logger } from "@utils/Logger";
import definePlugin, { OptionType, ReporterTestable } from "@utils/types"; import definePlugin, { OptionType, ReporterTestable } from "@utils/types";
import { initWs, socket, stopWs } from "./initWs"; import { initWs, socket, stopWs } from "./initWs";
console.log("imported");
export const PORT = 8485; export const PORT = 8485;
const NAV_ID = "dev-companion-reconnect";
export const logger = new Logger("DevCompanion"); export const logger = new Logger("DevCompanion");
@ -61,8 +59,6 @@ export default definePlugin({
}, },
start() { start() {
// if we're running the reporter, we need to initws in the reporter file to avoid a race condition
if (!IS_DEV) throw new Error("This plugin requires dev mode to run, please build with pnpm build --dev");
initWs(); initWs();
}, },