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

enable support for grunt-newer #20

Open
wobblyrampack opened this issue Mar 2, 2015 · 2 comments
Open

enable support for grunt-newer #20

wobblyrampack opened this issue Mar 2, 2015 · 2 comments

Comments

@wobblyrampack
Copy link

Would be beneficial in larget projects to only upload the changed files using grunt-newer.

@JaroslavMoravec
Copy link

But grunt-newer cannot be used for this. From grunt-newer's github page:


Known limitations

The newer task relies on Grunt's convention for specifying src/dest mappings. So it should be expected to work with two types of tasks:

  1. Tasks that specify both src and dest files. In this case, the task prefixed by newer will be configured to run with src files that are newer than the corresponding dest file (based on the mtime of files).

  2. Tasks that specify only src files. In this case, the task prefixed by newer will be configured to run with src files that are newer than the previous successful run of the same task.


https://github.com/tschaub/grunt-newer#known-limitations

@JaroslavMoravec
Copy link

@wobblyrampack Do you find a way to upload only newer files?

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