I have a vite project in sandbox and running a vite dev server using sandbox.commands.run by passing background: true. How to get the logs from this process. I tried connecting and getting logs, but it is not working. Below is the code I tried.
const devServerCommand = await sandbox.commands.connect(devServerPid);
return devServerCommand.stdout.trim()
I have a vite project in sandbox and running a vite dev server using
sandbox.commands.runby passingbackground: true. How to get the logs from this process. I tried connecting and getting logs, but it is not working. Below is the code I tried.