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

Sound is not reloaded when it changes on disk #4059

Closed
Zylann opened this issue Mar 15, 2016 · 2 comments
Closed

Sound is not reloaded when it changes on disk #4059

Zylann opened this issue Mar 15, 2016 · 2 comments

Comments

@Zylann
Copy link
Contributor

Zylann commented Mar 15, 2016

Windows 7 64 bits, Godot 2.0.1

When I open a sound in Audacity, modify and overwrite it, Godot doesn't notices the change. I have to restart the editor to listen for the new audio.
I don't know if it's a bug or usability enhancement, it would be useful for sure :)

@neikeq
Copy link
Contributor

neikeq commented Mar 15, 2016

I think it's not a bug, but the sound being cached by ResourceCache.

@vnen
Copy link
Member

vnen commented Mar 15, 2016

I would consider this a bug. The cache is good but if the source changes the cache should be invalidated. Which reminds me of the quote:

There are only two hard things in Computer Science: cache invalidation and naming things.
—Phil Karlton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants