I'm using pm2 (2.5.0) and ts-node (3.1.0) I saw in ts-node's documentation that you can pass a "--fast" option, so that compilation is faster.
I'm using pm2 to start my .ts app. How can I tell pm2 to pass that 'fast' option to ts-node?
Thanks
I'm using pm2 (2.5.0) and ts-node (3.1.0) I saw in ts-node's documentation that you can pass a "--fast" option, so that compilation is faster.
I'm using pm2 to start my .ts app. How can I tell pm2 to pass that 'fast' option to ts-node?
Thanks
According to this issue, the standard UNIX way of passing parameters to the script is supported since end of 2016. This should work:
pm2 start app.ts -- -F