Open holyjak opened 5 years ago
I guess that is because lein-coop calls sh/proc
on all the processes at https://github.com/kouphax/lein-cooper/blob/c41207623df18975148ed63768b2c48862fc3573/src/leiningen/cooper.clj#L61 and only later decides which ones to pipe to its output at https://github.com/kouphax/lein-cooper/blob/c41207623df18975148ed63768b2c48862fc3573/src/leiningen/cooper.clj#L149
Shouldn't it filter first and only later start the processes?
I can create a PR for that ...
First of all, thank you for the plugin!
I see something that surprises me: I have defined 3 processes, asked cooper to start one and it seems it did - but when I look at running system processes, I see all running. Is that to be expected? See:
This is the relevant part of my
project.clj
(I don't use Procfile):Is something wrong or is this as designed? Thank you!