-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Retain file timestamps after copy #396
Comments
Please clarify what do you mean |
When files are copied using the plugin the standard OS file copy is used. The resulting file has a date and time of when the copy was performed. It would be nice if the original file's timestamp were retained. For example: Say I have a file:
When it's copied using the plugin it ends up as: It would be nice if the copied file would retain the original February timestamp. |
keeping original date/time is invalid because copied files was created/modified at |
I got around this problem by using rsync
|
We're using files copied by this plugin to upload a static site using I'll take a stab at implementing this, shouldn't be too hard. |
Same case here with Azure Storage, it would be great if we can retain the timestamp of each file so it would prevent it from being re-uploaded. This would speed up most CI/CD pipelines. |
Feel free to send a PR |
I have an open branch about this, but I got sidetracked. Perhaps I'll get something complete done this week or the next! |
This comment has been minimized.
This comment has been minimized.
Just as a data point, this would help me. I use the plugin to grab static assets from some libraries I'm using and put them in my dist directory during the build, then I use |
Let's close in favor #35, I think we will implement this in near future |
Feature Proposal
See: angular/angular-cli#14003
It would be nice if files copied using the plugin could retain their original timestamps rather than getting the current date and time.
Feature Use Case
When a build is done it becomes very difficult to determine what has changed and when transferring files to another system the timestamp can not be relied upon for quick checks.
The text was updated successfully, but these errors were encountered: