[QUESTION] Is there a way to "live reload" .dir-locals.el?
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 条评论