When the yarn build target is run it does not clean the dist directory. This means that if you delete a challenge seed dir it will still remain in the dist directory.
To Reproduce
Steps to reproduce the behavior:
Go to repo base dir.
Run yarn build.
Delete one of the directories from ./challenges, for example the 03-front-end-libraries dir.
Run yarn build again.
The 03-front-end-libraries dir will still be in the dist dir.
Expected behavior
Deleted directories should not remain in the dist dir after running yarn build.
Describe the bug
When the
yarn build
target is run it does not clean thedist
directory. This means that if you delete a challenge seed dir it will still remain in the dist directory.To Reproduce
Steps to reproduce the behavior:
yarn build
../challenges
, for example the03-front-end-libraries
dir.yarn build
again.03-front-end-libraries
dir will still be in thedist
dir.Expected behavior
Deleted directories should not remain in the
dist
dir after runningyarn build
.