Closed fddavis closed 6 years ago
I actually have the command window to open when the project is built and then use gulp serve to call the workbench and then add the webpart and then close everything and then Visual Studio finishes loading the project and all.
Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.
Category
[X] Question [ ] Bug [ ] Enhancement
Versions
[ 15.7.0 ] Visual Studio version (Help > About) [ 1.4.1 ] SPFx Generator version (
npm list -g @microsoft/generator-sharepoint
)Expected or Desired Behavior
If you are reporting a bug, please describe the expected behavior. If you are suggesting an enhancement please describe thoroughly the enhancement, how it can be achieved, and expected benefit.
When I build a project, it just sits there and runs and never completes. I then found an article to open the command window to see what is going on. I did that and it completes just like you would through npm. It ends with if you want to run the code you have to do gulp serve. I tried and it errored and found out that I wasn't in the right directory to run it and then go into a folder deeper and run it and gulp serve runs. I then add the webpart to the workbench and then close the window and Visual Studio completes. Is there another way to fix this?
Observed Behavior
If you are reporting a bug, please describe the behavior you expected to occur when performing the action. If you are making a suggestion, you can delete this section.
Steps to Reproduce
If you are reporting a bug please describe the steps to reproduce the bug in sufficient detail to allow testing. Only way to fix things properly, is to have sufficient details to reproduce it. If you are making a suggestion, you can delete this section.
Submission Guidelines
Delete this section after reading
Thanks for your contribution! Sharing is caring.