How to start an Ionic app with pm2 for development with hot-reload?
I know this works for a ReactJS app:
pm2 start npm --name "app name" -- start
Is there a way to basically run ionic serve
but with pm2 for monitoring and testing purposes? I am not trying to build the project. I can build with ionic build
and then use pm2 serve build
but this is not the goal here.