If you are either working on the storefront or the administration you might want to use the watchers for it. These will make sure to compile everything as soon as new changes and file modifications have been recognized. You only need to reload your browser and all changes are visible immediately. Because the watchers are not very dev-friendly sometimes, we've prepared a small little makefile for you. It's outside the DocRoot in the directory /var/www
watch-storefront #Starts watcher for storefront at http://localhoststop-watch-storefront #Reverts everything back to normal operationwatch-admin #Starts watcher for admin at http://localhost:8888
If you want to start the watcher for the administration, run the corresponding makefile command. This takes a bit, but not that long. Afterwards please open the administration with this URL: http://localhost:8888 As soon as you modify any files in the administration and upload them to the container, the watcher will recognize the changes, and compile the app again. In addition to this, it will also automatically refresh your browser (Hot Module Replacement). To stop the watcher, simply cancel the command / process.
If you want to work on the storefront, please start the watcher command for this. The storefront is available with this URL: http://localhost