Hotload of config file not working when symlinked
- Dominant language
- C
- Stars
- 8.1k
- Forks
- 241
- PR merge metrics
- No merged PRs in 30d
Description
I use stow to manage my configs which manages symlinks of those configs.
This does not hotload on changes when the config is symlinked:
skhd -c ~/.config/skhd/skhdrc
But pointing to the actual config does:
skhd -c ~/.dotfiles/skhd/.config/skhd/skhdrc
Also, copying the config file into ~/.config/skhd/skhdrc works as well.
This is on an M3 running macOS 14.3.1.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the two skhd -c invocations on macOS, changing the symlink target and observing whether hotload occurs. Trace the configuration file-watching and reload entry points, then verify that changes through a symlink trigger reload without breaking direct-path or copied-file behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100