`dist/` should not be deleted on rebuilds, only contents instead
See original GitHub issue@jvandemo heya, I recently discovered a shortcoming in my starter, where the dist/
dir is always deleted.
This causes linked libraries to not update the project that are using it, since the link is broken when dist/
is deleted. Instead, only its contents should be deleted.
Details and repro can be found at https://github.com/angular/angular-cli/issues/6195.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Clean to remove content of dist folder instead of ... - GitHub
The only thing I noticed is that --watch apparently does not clean on every rebuild. The clean just happens during the first build,...
Read more >Why I can't delete a folder? - Ask Ubuntu
Try cd into the directory, then remove all files using rm -rf * . Then try going out of the directory and use...
Read more >How to clean node_modules folder of packages that are not in ...
Now I want to clean node_modules folder so that only modules listed in package.json stay there and the rest must go, something like...
Read more >Indexing tables - Azure Synapse Analytics - Microsoft Learn
There are a few scenarios where clustered columnstore may not be a good ... The disadvantage to using a clustered index is that...
Read more >Delete a disk set using Disk Utility on Mac - Apple Support
When you delete a set, the data recorded on the disks is not deleted. For example, deleting a mirrored RAID set leaves each...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have just released v10.2.2, which no longer deletes the
dist
directory.@filipesilva and @bniedermeyer — Thank you for your help! Much appreciated! 👍
I will leave this issue open to further investigate the refresh issue.
@filipesilva — Thank you for your note, much appreciated! 👍
I will have a look at this tomorrow morning before work and will keep you posted. Thanks again!