-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenFL: Watch more libraries + gain live assets reloading #15
Comments
What I'm going to add in the next version will be:
could it works in this way or I missed something? I've added the other request around |
First of all, Great! :) maybe .txt as well?
I don't really understand what that line means :) but if it means you can specify which folders (any folders in the project directory) you want to watch / exclude from watching (in the hx-watch.json config file) then the answer is a big YES. And that's a lot better idea than mine. The project.xml is still out of reach though, no? unless the "root" folder is also available to be watched. Maybe you can specify specific files to be watched? but that's pretty complicated, with the files paths and all. |
Currently I'm excluding the following folders from the watcher:
Plus, if specified, the livereload path specified in the configuration file or via command line |
Added all the extensions requested, please check the new version 1.3.0 👍 |
Might take me some time to try all, tomorrow then :) |
No rush! Take your time :-) |
I think the default OpenFL's jsons on the website should have no src folder specified (so the user would have his Can I request more extensions to be supported? now that it's working I can see some missing:
|
Assets
folder: watching the 'Assets' folder for changes in .xml/.json/.png files (i.e. files that can be used as assets in an OpenFL project, also .ogg/.wav/.mp3/.m4a for SFX, .ttf, .otf for fonts and so on would be a nice addition :D) is much more useful than watching these on theExport
folder since you don't ever work on the exported assets, you work on the assets in your Assets folder.openfl update
). Maybe some users would prefer to rebuild their project instead, so this can be an option.Sorry, it turned out a lot longer than intended :)
The text was updated successfully, but these errors were encountered: