Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old packs are not deleted at start of run #28

Open
macobo opened this issue Oct 28, 2018 · 0 comments
Open

Old packs are not deleted at start of run #28

macobo opened this issue Oct 28, 2018 · 0 comments

Comments

@macobo
Copy link

macobo commented Oct 28, 2018

Currently, when you run this gem, it doesn't clean up old assets from public/packs on start of run, and all of its contents get rsync-ed. This can mean accidentally syncing over a GB of data if the folder hasn't been cleaned in a while.

The problem comes from this: at start of run, rake assets:clean is called, which doesn't clear packs dir, but the rm -rf later on does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant