-
Notifications
You must be signed in to change notification settings - Fork 212
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
How to handle manual edits to generated files? #61
Comments
For AngularDart, this is really interesting, because it could (potentially, with other changes to make |
So you actually would prefer it to be left alone then potentially? |
Maybe a flag? i.e. |
I guess today you could actually get what you want by just making the edit and then not changing any file which would cause that file to be regenerated. I definitely do not want to get in a situation where we are trying to re-apply user edits to generated files, and not re-generating them based on changes also seems like a bad idea. |
Should we close this @jakemac53? I imagine editing the file as is works fine for now. |
Ya I think we can close this, edits will be bashed over by the next build
but that is fine imo. It is still nice for being able to quickly test out
changes to the generated files.
…On Sat, Dec 23, 2017, 10:08 PM Matan Lurey ***@***.***> wrote:
Should we close this @jakemac53 <https://github.com/jakemac53>? I imagine
editing the file as is works fine for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#61 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA8HWcP52gQvg8gOQJjI_-xvOe3f-QoDks5tDepmgaJpZM4HmknS>
.
|
Today we only handle deletes (by regenerating the file), but if you modify them we ignore it. This is because we don't have a way of detecting edits currently, the same modified timestamp logic as regular inputs doesn't work since it is always newer than the asset graph.
It is also unclear what should even be done in this case?
The text was updated successfully, but these errors were encountered: