BrettMayson / HEMTT

Build System for Arma 3
https://brettmayson.github.io/HEMTT
GNU General Public License v2.0
109 stars 40 forks source link

Please add `hemtt build --watch` option #28

Closed bovine3dom closed 5 years ago

bovine3dom commented 5 years ago

I'd like HEMTT to rebuild every time I change a relevant file. On linux this is easy: ls ** | entr hemtt build. On Windows, it is much more of a pain in the bum.

Rust has some nice looking libraries that would do the bulk of the work for you, e.g, https://github.com/francesca64/hotwatch.

Thanks!

jonpas commented 5 years ago

That's not as useful in the context of Arma though.

For SQF, you have file patching, which doesn't need rebuilding at all. For config, you have to restart anyways for majority of the things (except dev-branch with that merge config command which is far from perfect).

bovine3dom commented 5 years ago

Yeah, you have to restart ArmA, which is why it's really annoying when I forget to rebuild stuff after I've changed it :)

jonpas commented 5 years ago

You can't rebuild PBOs while Arma is running, as it places a lock on them.

BrettMayson commented 5 years ago

I'm going to close since I don't think HEMTT will need this functionality. As jonpas said it isn't very useful with Arma.