terminalforlife/ShellProjects

Convert AutoExec to fswatch based tool

Closed this issue · 1 comments

fswatch is a cross platform file system monitor. One could detect change in a file or a set of files and run a command. Given it uses the OS utilities meant for this purpose, it won't consume CPU time while waiting for files to change.

https://github.com/emcrisostomo/fswatch
https://medium.com/@chapuyj/automatically-run-tests-when-a-change-occurs-9bae2140586b

I appreciate the suggestion. However, I don't think it's suitable for AE, as it doesn't seem to align with AE as a general development tool. It would also add unneeded complexity. I considered a separate tool to achieve the same result as you suggested, but in hindsight, I can't justify its existence, especially when things like fswatch already exist, and are lower-level.