Cloud-Scythe-Labs / nix-watch

Nix Watch watches over your project's source for changes, and runs Nix commands when they occur.
BSD 2-Clause "Simplified" License
4 stars 0 forks source link

Add `NIX_WATCH_SHELL_ARGS` env var #20

Closed eureka-cpu closed 3 months ago

eureka-cpu commented 3 months ago

Ref #9

Updates process_command function to accept an array and return a processed array. Updates the name of process_command to process_args to better reflect its use cases. Enables detection of NIX_WATCH_SHELL_ARGS environment variable, yielding to command line args passed.