From ac8a09b3ba674f44950b39e68b3f46ecfd2fedbe Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Wed, 29 Jan 2025 21:52:45 +0100 Subject: [PATCH] chore: respect casing --- src/commands/build.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/build.ts b/src/commands/build.ts index e255f9e..c324c6c 100644 --- a/src/commands/build.ts +++ b/src/commands/build.ts @@ -83,7 +83,7 @@ const CommandOnEndPlugin = (watching: boolean, watchCommand?: string) => { let currentProcess: ExecaChildProcess | null = null; return { - name: 'command-on-end', + name: 'watchruncommand', setup(build: esbuild.PluginBuild) { build.onEnd((result) => { if (!watching || result.errors.length !== 0) return; @@ -115,7 +115,7 @@ const CommandOnEndPlugin = (watching: boolean, watchCommand?: string) => { currentProcess = execa(cmd, { stdio: 'inherit', shell: true }); currentProcess.catch(error => { if (error.isCanceled) return; - console.error(`[watch] Command execution error: ${error.message}`); + console.error(`[watch] command execution error: ${error.message}`); }); }); }