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

Could build only changed files #619

Closed
plievone opened this issue Nov 28, 2013 · 2 comments
Closed

Could build only changed files #619

plievone opened this issue Nov 28, 2013 · 2 comments

Comments

@plievone
Copy link
Contributor

Commoner does this internally, but if you need more make-like behavior for your other build tasks, there is finally a grunt plugin to build only newer files. You could evaluate it if you want to shave a few (sub)seconds from your testing cycle. (Needs experimenting how to handle file renames, deletions etc).

https://github.com/tschaub/grunt-newer

@zpao
Copy link
Member

zpao commented Dec 3, 2013

If you see a place where you think we need it, feel free to do it. I think the costliest parts are covered by commoner right now (though presumably grunt build && grunt build could be shortened with grunt-newer but I don't know how realistic that is) so I'm not sure how much of a win we'd get. I think there are probably other optimizations we could make in the build process first.

@plievone
Copy link
Contributor Author

plievone commented Dec 3, 2013

@zpao you are right. I'm going to experiment with this later. Closing this for now

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