Hacker News new | ask | show | jobs
by martibravo 1494 days ago
You can totally use pm2 with Deno! Just needs an extra flag.

pm2 start index.ts --interpreter="deno" --interpreter-args="run --allow-net --allow-write"

1 comments

Ok I had no idea that was possible. Will this work with the cluster module in pm2? How does it work exactly? Does pm2 have its own webserver and just forwards the request to whatever interpreter you specify?