devenv icon indicating copy to clipboard operation
devenv copied to clipboard

Failing process exits process-compose immediately

Open tennox opened this issue 4 months ago • 3 comments

If I run devenv up frontend but have a command in the exec that fails, e.g.:

processes = {
    frontend.exec = "cd page && pnpm dev --port 3000";
};

If I run this while in the subdirectory page/:

  • the command will fail because there is no such directory (that's an issue of it's own - shouldn't processed run with devenv root as PWD?)
  • process-compose will exit immediately, making it impossible to see the error message

tennox avatar Mar 22 '24 14:03 tennox