Definitive output for when the SWA and API are running and availableSee original GitHub issue
This is largely to support tasks in VS Code. Specifically, if we had output that we can match to signify the end of the
swa start task, it would make creating the launch and task jsons a little bit cleaner.
For example, today I am waiting on
"Host lock lease acquired but this only applies if I have an api in my project. Without an api,
serving * at http://0.0.0.0:4280 would be end output.
In both cases, I am running the start command with the output and api locations specified in the
start command rather than starting the
dev server and the
func host start processes first, and attaching the emulator to those addresses.
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Nah, I don’t think it’ll be necessary. Thanks for all the info!
That’s the message we currently output. However, I noticed when we also spawn the API server, it obviously takes more time to start (as you can see from the screenshot). Would that be a problem @nturinski ?
Also, as @anthonychu mentioned, feel free to let me know if the message we output does the job for you or we can add a different marker?