diff --git a/Run-FMG-locally.md b/Run-FMG-locally.md index a9e57e4..4a1e8df 100644 --- a/Run-FMG-locally.md +++ b/Run-FMG-locally.md @@ -10,4 +10,7 @@ The easiest way to run a local web-server is to use Python's `http.server` modul 2. If you are Windows user, run the `run_python_server.bat` file in the Fantasy Map Generator folder. It will start the web-server and automatically open the Application in Chrome. You can edit the `.bat` file in any text editor if you want to use a different browser or host. -3. For other systems open the terminal and print a `python -m http.server 8000` command. Then open `http://localhost:8000/` in browser. \ No newline at end of file +3. For other systems open the terminal and print a `python -m http.server 8000` command. Then open `http://localhost:8000/` in browser. + +## Development +If you are a developer you probably don't want to restart the server manually each time you make a change to the code. So you need a web-server with live reload feature. If you are VS Code user, I recommend to install the [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) extension. It run a local server in one click and automatically restarts it on file save. \ No newline at end of file