This setup assumes a monorepo configuration similar to what would be generated from this offline-platform schematic. It assumes that you want to execute the following:
- Start the .NET server and build the Angular library simultaneously.
- Once the Angular library build completes, start all of the Angular apps that are included in the monorepo.
The commands configured in tasks.json
are defined in the root package.json
of the monorepo. For the tasks defined in this gist, the associated scripts defined in the scripts
section would look as follows:
"script": {
"build": "ng build core --configuration development",
"start:server": "dotnet run --project ./server/Project.Web",
"start:app-a": "ng serve app-a --configuration development",
"start:app-b": "ng serve app-b --configuration development"
}
- Press Ctrl + P to open the search bar
- Type
task dev
then press Enter - Select Continue without scanning the task output and press Enter
- If you are sure you will never want to scan task output, you can optionally select Never scan the task output for this task