Join Nostr
2026-08-09 04:58:31 UTC

Andrew on Nostr: Here’s a quick #nushell tip for apps that don’t have auto-reload on configuration ...

Here’s a quick #nushell tip for apps that don’t have auto-reload on configuration changes:

let $app = the-program-in-question
watch $"( $nu.home-dir )/.config/( $app )" {
ps | where name == $app | first | kill -s 12 $in.pid
}

Launch it however you like. The command “kill -s 12” sends a reload signal.

https://www.nushell.sh/commands/docs/watch.html