Skip to content

Hammerspoon self-reloading not working #3672

Answered by unphased
unphased asked this question in Q&A
Discussion options

You must be logged in to vote

code now:

myWatcher = hs.pathwatcher.new(os.getenv("HOME") .. "/.vim/hammerspoon-init.lua/", function(files)
    -- Use a timer to delay the reload slightly
    hs.timer.doAfter(0.5, function()
        hs.reload()
    end)
end):start()

Seems good so far.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@unphased
Comment options

@latenitefilms
Comment options

@unphased
Comment options

Answer selected by unphased
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants