pm2 now recognize the extension of the file but you can still use interpreter flag for specific extensions.