lucamezzalira / haxe-watchify

automatic build tool for your Haxe and OpenFL projects. It monitors the changes in your files and runs the build of your projects
https://www.npmjs.com/package/haxe-watchify
51 stars 4 forks source link

OpenFL: Watch more libraries + gain live assets reloading #15

Open sruloart opened 9 years ago

sruloart commented 9 years ago

Sorry, it turned out a lot longer than intended :)

lucamezzalira commented 9 years ago

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 openfl update in the backlog

sruloart commented 9 years ago

First of all, Great! :) maybe .txt as well?

when live reload folder is specified I'm going to exclude from the watching directories so it will be "watched" only by the live reload server

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.

lucamezzalira commented 9 years ago

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

lucamezzalira commented 9 years ago

Added all the extensions requested, please check the new version 1.3.0 :+1:

sruloart commented 9 years ago

Might take me some time to try all, tomorrow then :)

lucamezzalira commented 9 years ago

No rush! Take your time :-)

sruloart commented 9 years ago

I think the default OpenFL's jsons on the website should have no src folder specified (so the user would have his Assets folder being watched by default). Also, it would be useful for the user to know about all of the non-watchable folders you've specified above.

Can I request more extensions to be supported? now that it's working I can see some missing: