# Projucer is problematic when I try to update binary files

**URL:** <https://forum.juce.com/t/projucer-is-problematic-when-i-try-to-update-binary-files/31348>\
**Category:** The Projucer\
**Created:** [January 18, 2019, 11:00am UTC](https://forum.juce.com/t/projucer-is-problematic-when-i-try-to-update-binary-files/31348 "2019-01-18T11:00:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrTarantism](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/drtarantism/32/815_2.png) [@DrTarantism](https://forum.juce.com/u/DrTarantism)\
**Post date:** [January 18, 2019, 11:00am UTC](https://forum.juce.com/t/projucer-is-problematic-when-i-try-to-update-binary-files/31348/1 "2019-01-18T11:00:27Z")

</div>

Usually this happens with images. I will make some subtle change (in photoshop) to a binary image (PNG) that is referenced in my project. I hope that the projucer will just pick up the changes as would happen with a code source file. Unfortunately not. So I try removing the image from my project and then adding it back in again. But in the projucer preview, I am still seeing the old version of the image. So I remove the image a second time, rename it and then add it again. Now its fixed.

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [January 18, 2019, 11:38am UTC](https://forum.juce.com/t/projucer-is-problematic-when-i-try-to-update-binary-files/31348/2 "2019-01-18T11:38:43Z")

</div>

Seems the Projucer uses the ImageCache, which doesn’t check, if the file was changed. I can see in the sources, that it has a 30 seconds timeout, so theoretically, if you wait 30 seconds without the image being used anywhere (i.e. not displaying it in the preview), it should load fresh 😉

I think, the ImageCache needs a function to invalidate an image, that would be called in jucer\_BinaryResources.cpp - `BinaryResources::browseForResource()`…

---

<div class="post-metadata">

**Author:** ![tomto66](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tomto66/32/4916_2.png) [@tomto66](https://forum.juce.com/u/tomto66)\
**Post date:** [January 18, 2019, 6:43pm UTC](https://forum.juce.com/t/projucer-is-problematic-when-i-try-to-update-binary-files/31348/3 "2019-01-18T18:43:09Z")

</div>

Yeah that happens to me too every time I change an image. I’m used to it now - but room for improvement in the Projucer I think.

---

<div class="post-metadata">

**Author:** ![DaveH](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daveh/32/4924_2.png) [@DaveH](https://forum.juce.com/u/DaveH)\
**Post date:** [January 18, 2019, 6:59pm UTC](https://forum.juce.com/t/projucer-is-problematic-when-i-try-to-update-binary-files/31348/4 "2019-01-18T18:59:24Z")

</div>

I asked for this a while ago. We have to quit and reload the Projucer every time we update a resource.
