ITADN

[QUESTION] Is there a way to "live reload" .dir-locals.el?

#280Openchrisemke 创建于 2026-01-09
C
chrisemkecommented
When I'm working I usually need to change debug args. What I'm currently doing is to re-launch emacs then it re-reads the .dir-locals. This is a example of my .dir-locals.el: ```lisp ((nil . ( (dape-configs . ( ;; ---------------------------------------------------------------- ;; Opony: Run — launch scrapers ;; ---------------------------------------------------------------- (opony-run modes (python-mode python-ts-mode) command "python" command-args ("-m" "debugpy.adapter") :cwd dape-cwd-fn :module "opony" :args ["scrapers" "run" "--url" "HERE A URL THAT CHANGES A LOT" "--print-items" "--print-jobs" "HERE THERE'S N ARGS THAT CHANGE A LOT ALSO" ] :env (;; MYENVSHERE ) ) ))))) ```
1 条评论