vite-plugin-rescript
vite-plugin-rescript copied to clipboard
`vitest run` failed with `SIGTERM` signal
vitest run is failing here:
https://github.com/cometkim/rescript-vitest/actions/runs/15218765005/job/42810167426
>>>> Finish compiling 39 mseconds
at getFinalError (file:///home/cometkim/Workspace/src/github.com/cometkim/rescript-vitest/node_modules/execa/lib/return/final-error.js:6:9)
at makeError (file:///home/cometkim/Workspace/src/github.com/cometkim/rescript-vitest/node_modules/execa/lib/return/result.js:108:16)
at getAsyncResult (file:///home/cometkim/Workspace/src/github.com/cometkim/rescript-vitest/node_modules/execa/lib/methods/main-async.js:168:4)
at handlePromise (file:///home/cometkim/Workspace/src/github.com/cometkim/rescript-vitest/node_modules/execa/lib/methods/main-async.js:151:17)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
shortMessage: 'Command was killed with SIGTERM (Termination): rescript build -with-deps -w',
command: 'rescript build -with-deps -w',
escapedCommand: 'rescript build -with-deps -w',
Even the compilation succeeded.
I think the command should not use -w flag on vitest run.
Hi @cometkim , thank you for reporting the issue. I'll look into it.
Hi, same issue here, had to disable the plugin in test env.
I think the command should not use -w flag on vitest run.
I second this!