{"repo":"KoBeWi/Godot-Directory-Watcher","free":true,"listed":false,"github":"https://github.com/KoBeWi/Godot-Directory-Watcher","clone":"git clone https://github.com/KoBeWi/Godot-Directory-Watcher.git","description":"Simple Godot plugin that allows watching directory contents for file changes.","language":"GDScript","stars":45,"topics":["godot"],"license":"MIT","category":"game-templates","readme_excerpt":"Godot Directory Watcher DirectoryWatcher will notify you whenever files or file list has changed in a directory. Usage 1. Create the watcher. 2. Add a directory to watch. (automatically gets converted to absolute path; you can add more than 1) 3. Connect signals. 4. Enjoy. Editor usage DirectoryWatcher is a Node, so it can be set up from the editor too. Just add it to the scene and inspect. Note that the list of directories set from the inspector can't be modified after the watcher node is ready. Also it does not allow to assign paths from outside the project. Some technical info DirectoryWatcher will periodically crawl over the files in a directory and report all file changes. Sub-directories are ignored and the scan isn't recursive. To reduce I/O operations, the scan runs every second and scans 50 files per frame inside process() method. Rate of scan and files per frame are configurable with scan delay and scan step variables. The signals are emitted at the end of a scan cycle and files are passed as absolute paths. You can deregister a directory by using remove scan directory() . This will take effect at the end of the current scan cycle. The class has built-in documentation. You can find all my addons on my profile page.","default_branch":null,"files":null,"tree":[],"storefront":"/r/KoBeWi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KoBeWi/Godot-Directory-Watcher/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}