HaikuArchives / Paladin

Paladin is an open source integrated development environment (IDE) for Haiku OS
MIT License
64 stars 20 forks source link

execute custom commands on filesystem events #351

Open irtusb opened 4 years ago

irtusb commented 4 years ago

basically Paladin would be watching over files or directories included in the project and when it detects file add/update/remove Paladin would launch a predefined command. The two use cases i think now are triggering a rebuild and executing a test suite. Output from these commands can be logged in Paladin and should be also an option to kill current running command if the event triggering it is launched again before command exits.

adamfowleruk commented 4 years ago

Accepted. Pretty easy to enable this for building (which already has the hooks for cancelling a build).

Eventually the work on custom build pipelines will take care of other tasks.

adamfowleruk commented 4 years ago

Already started designing a new modular 'build' system with triggers that you could use to achieve this. A lot of tests need writing before I can switch to this system though. It might take a month or two.