make repo checks more sane

This commit is contained in:
ndwarshuis 2019-04-11 13:58:02 -04:00
parent 4925c96293
commit 8d1ecd3241
1 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,14 @@
(eval-print-last-sexp))) (eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage)) (load bootstrap-file nil 'nomessage))
;; watch for repo modifications if we have python3 and watchexec
;; otherwise just use a save hook
(setq straight-check-for-modifications
(if (and (executable-find "python3")
(executable-find "watchexec"))
'(watch-files find-when-checking)
'(check-on-save find-when-checking)))
(straight-use-package 'use-package) (straight-use-package 'use-package)
;; (unless (package-installed-p 'use-package) ;; (unless (package-installed-p 'use-package)