How can I run dev to remote server in PhpStorm

196 views Asked by At

I have PhpStorm 2019.3.3. Is it possible to configure in External Tools setting to run npm run dev to the remote server?

Daily routine: For example, my web application is residing in the remote server, so every time I will run the npm run dev, I need to ssh to my remote server and cd path to my web app, then run npm run dev.

Want to automate

What I want is to setup command like in external tools so that when I run the command name in my local machine it will automatically ssh to my remote server and run npm run dev.

Is this possible or is there another way to achieve this?

enter image description here

0

There are 0 answers