This is probably mostly for @Simon but for some reason I cannot get Watchdog to watch files anymore. This might (likely) be a silly mistake but I cannot work it out so far.
im calling :
Watchdog::watch( "glsl.frag", [this](const ci::fs::path&)
{
mGlsl = gl::GlslProg::create( loadAsset( "thru.vert" ), loadAsset( "glsl.frag" ));
});
In setup()
(also tried getAssetPath("glsl.frag")
) but the callback never gets triggered when I resave the file. Anyone know what’s going on / what i’m doing wrong? The shader builds fine and I can see the result from build time but it never reloads on change.
OSX, XCode, Debug build
Thanks