Mattermost Peer-to-Peer Forum

Will backend changes automatically reload?


#1

Hi!

When running mattermost with docker, will backend (go) changes perform an automatic live-reload or do you have to manually restart docker?

I believe the frontend react will automatically reload, curious about the backend.

Thanks!


#2

Hi @pichouk, this seems to be related to Docker, do you know the answer to this one?


#3

I started mattermost as per the local development installation instructiions.

I just used make run-server I believe (I’m away from my home office so can’t confirm).


#4

Hello, @mrchat

I came across the following documentation that states that the Docker service needs to be restarted, taking into consideration that the backend changes you refer to is related to the Docker configuration - Reloading or Restarting the Docker Engine:

The Docker Engine must reload configuration information if any changes are made to the Docker configuration. To do this, you must restart the docker service.

I hope that helps. Thanks.