Mattermost, Inc.

Developer Workflow

The changes I make to the code are not reflected unless I stop and restart the container, is there a way to automate it? that changes are real-time ? Would love to know how others are doing it.

Hi @matz,

For the majority of the client side code changes (basically anything in .jsx) you shouldn’t need to restart the server, just wait a few seconds after saving your file for the bundle.js to rebuild and then refresh your page to get the latest changes.

Server side changes will require a restart of the server.

Assuming you started the server with make run then no re-start would be required for javascript changes per jwilander note.

useful commands:

make run
make stop

make stop-server
make run-server

I am not seeing the changes even after I do make stop and make run. What did you do to see your changes?