modd
━━━━

Today I gave modd a try, and it seems like a good file watcher executor. I tried using libnotify to send desktop notifications, but all I got was modd, I...

Date: August 25, 2025

Today I gave [4m[38;2;248;248;242mmodd[0m <[38;2;248;248;242mhttps://github.com/cortesi/modd[0m> a try, and it seems like a good file watcher executor. I tried using libnotify to send desktop notifications, but all I got was modd, I might not have notifications setup right on the awesomewm machine.

config goes in [38;2;189;147;249mmodd.conf[0m

[38;2;248;248;242m[config][0m
  **/*.py {
    # check formatting via ruff
    prep: ruff format --check .

    # check docstring formatting
    prep: pydocstyle .
    #
    # # check type hints via ty
    prep: ty check .
    #
    # # run linter via ruff
    prep: ruff check .
  }

I installed it using installer from jpillora, pulling pre-built binaries right out of the github repo.

[38;2;248;248;242m[code][0m
  curl https://i.jpillora.com/cortesi/modd | bash

Then you can install it, and on file change it will run the commands you configured.

[38;2;248;248;242m[code][0m
  modd
