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

Clean doesn't work with ci #55

Open
szkrd opened this issue Feb 3, 2013 · 3 comments
Open

Clean doesn't work with ci #55

szkrd opened this issue Feb 3, 2013 · 3 comments

Comments

@szkrd
Copy link

szkrd commented Feb 3, 2013

anvil --ci --clean cleans up on startup, but not anymore (anvil 0.9.1, node 0.8.18, win7).

@arobson
Copy link
Contributor

arobson commented Feb 4, 2013

Hi @rosamez,

That's intentional; this is largely because the CI mode performs incremental builds; only outputting files that were affected by the latest change. If a clean ran after an incremental build, it would require Anvil to re-create the entire build (and lose the advantage of incremental builds altogether).

Can you describe the use case you are interested in covering via the clean?

@szkrd
Copy link
Author

szkrd commented Feb 4, 2013

I think a valid use case would be dev mode with small projects, where I move files around / delete them often and have to check the output manually - these files are not removed from the lib dir, but I guess this is nothing more than an inconvenience. I can accept that it is by design, though stressing the incrementally nature in the help (at least in --help) would not hurt.

@arobson
Copy link
Contributor

arobson commented Feb 8, 2013

@rosamez - when a file is deleted Anvil is supposed to delete it from output. I'll take a look at what I can do to reproduce this and fix it.

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

2 participants