question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`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:open
  • Created 6 years ago
  • Reactions:3
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
jvandemocommented, May 27, 2017

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.

3reactions
jvandemocommented, May 17, 2017

@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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found