Run "pnpm dev &" seems not working #52
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
My env:
My first attempt was trying to reproduce your situation.
Right after, check the job state.
I cannot get it to work as background process this way. My second attempt was to try pm2.This works, I can run Install pm2 using npm globally.
Run
Check jobs details, Ctrl+C to leave
See realtime logs for all jobs
Delete job, you can see Job id in
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your response !!
And it works 🙃 |
Beta Was this translation helpful? Give feedback.
My env:
My first attempt was trying to reproduce your situation.
pnpm dev &
Right after, check the job state.
jobs -l
I cannot get it to work as background process this way.
My second attempt was to try pm2.
This works, I can run
pnpm dev
as background process.This is how I did it.
Install pm2 using npm globally.
Run
pnpm dev
with pm2. (be sure to be in the right directory)Check jobs deta…