🚀 Pre-alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
Replace rimraf with del-cli to remove content of WebApp/dist folders. When building the frontend SPA, it's important to not delete the dist folder but only the content, because of a race condition when starting the .NET API, which may fail when trying to read WebApp/dist/index.html. rimraf seems to work differently on macOS and Windows, whereas del-cli works consistently on both operating systems.
Checklist
[x] I have added a Label to the pull-request
[x] I have added tests, and done manual regression tests
[x] I have updated the documentation, if necessary
Summary & Motivation
Replace
rimraf
withdel-cli
to remove content ofWebApp/dist
folders. When building the frontend SPA, it's important to not delete thedist
folder but only the content, because of a race condition when starting the .NET API, which may fail when trying to readWebApp/dist/index.html
.rimraf
seems to work differently on macOS and Windows, whereasdel-cli
works consistently on both operating systems.Checklist