Hugo compiles over remote connections smoothly now
This commit is contained in:
parent
5d6b6126e8
commit
239d3a1457
@ -599,7 +599,7 @@ Return nil if DIR is not in a hugo project at all."
|
||||
(with-current-buffer buffer
|
||||
(compilation-mode)
|
||||
(if (zerop (let ((inhibit-read-only t))
|
||||
(call-process "sh" nil buffer t "-c" "hugo")))
|
||||
(shell-command "hugo" buffer)))
|
||||
(message "Hugo re-generated!")
|
||||
(error "Hugo Failed, better change something!"))))))))
|
||||
(add-hook 'after-save-hook
|
||||
|
Loading…
Reference in New Issue
Block a user