Can we able to run npm start from Visual Studio task runner explorer

2.8k Views Asked by At

I am setting up the Angular 4 code in Visual Studio, I can able to build successfully from Visual Studio. But if I want to start the angular code, I go to command prompt and manually type the npm start to run the application.

After running the npm start, I browse with registered port its working fine. But I don't want to use a command prompt, all I want to make it in Visual Studio task runner explorer.

Is it possible?

1

There are 1 best solutions below

1
On

You should be able to do CMD-SHIFT-P or CTRL-SHIFT-P and select "Tasks: Run Task", then select the "npm: start" task from the list