Using ofxIO and it’s directory watcher.
void onDirectoryWatcherItemAdded(const ofxIO::DirectoryWatcherManager::DirectoryEvent& evt)
I notice that just because the file appears in the folder does not mean it is ready to be read in to the app. I guess the copying process is not completely done and so file loading fails.
How would I work around this?
I know I could take the current time and just wait x seconds. But it feel not elegant.