I just started my first SPFx project on SharePoint 2016.

After I key in gulp serve the workbench prompt up.

My question is, how to exit the workbench?

In my DOS prompt it seems gulp is still listening and not allow me typing any command.


Ctrl +c should stop it as per the documentation

  • Would you give me the documentation too? I came over some troubleshooting saying existing gulp webserver dominate a port number cause other gulp not work. – Mark L Oct 16 '19 at 4:34

I would recommend you to use Node JS command prompt for running commands related to SharePoint Framework.

And to stop the execution:

Close both the local and hosted workbench and stop the local web server by pressing CTRL+C in the command prompt.

Source: Testing with the local and hosted SharePoint Workbench

You can follow above article for testing of your web parts.

  • Have you tried this? Does this answer helped you in any way? – Ganesh Sanap Oct 22 '19 at 8:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.