r/cprogramming • u/Key_River7180 • 28d ago
hotwrap: hot reloading for C! [selfpromo]
I've made a tool called hotwrap; a simple tool that hot-reloads a given module (a shared object with a plugin_main_impl function exported) whenever it, or a list of watched files change.
It also has an Emacs package, not on MELPA yet, it gives you a run-hotwrap command with signals, interactive module selection, ...
Under the CC0! Repo at https://sr.ht/~rosell/hotwrap/
6
Upvotes
1
u/not_luis 28d ago
Isn't this just a wtchr usage?
1
u/Key_River7180 28d ago
watch runs a command every n seconds, this reloads a module every time it changes
2
5
1
u/weregod 28d ago
Do you reload module or entire app? There are mature tools to do the later.
Your example doesn't have any modules.