-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't hotload config file if it is a symlink #19
Comments
Will add support for this at some point. No ETA for now though. |
implemented support for symlinks on master. |
This does not seem to work when the symlink is relative, e.g. as created by GNU Stow. |
What's the expected behaviour when the symlink is relative? We have to pass the absolutepath to the FSEvents API. My first assumption would be that we just prepend Edit: |
👍 to |
e616840 seems to enable hotloading only if |
Is hotloading still supported on latest macOS? I've installed skhd using Brew, and have the service running. Inspecting the launchctl plist shows hotloading isn't disabled, but editing my config file still does not update the running daemon.
My config is symlinked to |
Hotloading is still a thing yes. I have not tested having an actual file in a symlinked directory, so that is probably why it is not working for you. You can run skhd with the --verbose flag and it should print the path to the file it resolved for the hotloader. |
Thanks for the pointer @koekeishiya. I suspect you are right that this use-case is unsupported. This is what it prints:
The |
Ran into this issue as well when I broke my I have my configuration tracked in a dotfiles repo: ~/.dotfiles/skhdrc/
~/.dotfiles/skhdrc/skhdrc
~/.dotfiles/skhdrc/window
~/.dotfiles/skhdrc/space
# ... Symlinked like ln -s ~/.dotfiles/skhdrc ~/.config/skhdrc |
Great project! I'm on Mac OSX 10.11 and using skhd to control chunkwm.
If ~/.skhdrc is a symlink, then it can't hotload the config file, and I have to do
brew services restart skhd
to see the changes. If ~/.skhdrc is a regular file, hotloading works just fine.The text was updated successfully, but these errors were encountered: