-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some confusion regarding the live-reload workflow #44
Comments
Yeah, live reloading support was generally a hack that accidentally worked on some versions of Linux/macOS. I think we should remove that part from the doc. |
I'm currently experimenting with live reloading (and have gotten it to almost work) but have bumped against an error. On first load everything loads correctly, but on second load I hit a panic during initialization.
Files
|
Regarding @ohmree's issue, I was able to solve that by having I presume it's something not being undone properly on unloading, otherwise it wouldn't load correctly the first time around. |
Hi, I'm trying to write some elisp bindings to a rust library and would like to benefit from live reloading.
Looking at the workflow shown in magit-libgit2, I've:
bin/load.sh
and modified the file names for my projectemacs-rs-module
to my dev dependenciescargo-watch
as shown in the aforementioned project's readmeBut it doesn't seem to work -
find "$root" -iname "*emacs_rs_module*.$ext"
returns nothing.Furthermore, I can't find any file that looks like
*emacs_rs_module*.so
anywhere in my project (after a build of course).Is this workflow just broken at the moment?
Maybe some build script machinery could be used to have a more ergonomic workflow?
I'm not sure I know enough about how emacs (and linux I guess) loads dynamic libraries to work on it myself, but I feel like it could possibly make this a bit more ergonomic (e.g. automate the whole
.so
/.dylib
symlinking thing, generate elisp files that modify the load path and require the module).The text was updated successfully, but these errors were encountered: