You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the README for this project, I see this: New to FireFS ? From console to web apps, you can read the wiki to know how to use this library into your project... but that "wiki" is empty.
Sorry I know this project (and some others for this framework) lacks a good documentation. It will be difficult for me to add them due to my other occupations/projects. But I am still available to answer through GitHub issues.
For the issue with the onAny callback, please have in mind that the onCreated, onDeleted, and onModified callbacks will only be triggered if onAny returns true.
The purpose of onAny is to have a kind of catch-all behavior, that you can forward only for specific cases by returning true. If onAny always returns true, it's guaranteed to always run before the other callbacks according to the triggered event.
In the README for this project, I see this: New to FireFS ? From console to web apps, you can read the wiki to know how to use this library into your project... but that "wiki" is empty.
Searching the web, I found this example program https://dev.to/na2axl/how-to-create-a-file-watcher-with-php-and-the-elementary-framework-1po, for which the "onAny" function seems to work. But the onCreated, onDeleted, onModified functions are not called at all in my environment (MacOS 14.2, PHP 8.1).
The text was updated successfully, but these errors were encountered: