Skip to content
Discussion options

You must be logged in to vote

With the caveat that this is strictly for development purposes, yes, you can, although in some cases it's not sufficient (eg. if you change initialization code of a gen_server process, you will need to restart it after loading the new code). There are multiple ways to achieve that - manually or with erlang_ls: https://github.com/rabbitmq/contribute/wiki/Bazel#hot-code-reloading.

Manually, it's mostly about:

  1. Starting the broker in a dev mode (-c dbg with bazel, I don't remember how to do that with make)
  2. c(module). from the shell

I've never seen that terminate RabbitMQ.

With erlang_ls, you can have it reload the module on file save in your editor (it's also possible to set it up with just…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hzhang7
Comment options

Answer selected by hzhang7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants