Skip to content

Commit 2add38e

Browse files
GuillaumeGomezJoshua Nelson
authored andcommitted
Add more instructions to get auto-update for templates
1 parent 4ba7c1c commit 2add38e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ cargo run -- build add-essential-files
7373
# This starts the web server but does not build any crates.
7474
# It does not automatically run the migrations, so you need to do that manually.
7575
cargo run database migrate
76-
cargo run start-web-server
76+
# Start the web server. It doesn't automatically reload templates though!
77+
cargo run -- start-web-server
78+
# If you want the server to automatically reload templates if they are modified:
79+
cargo run -- start-web-server --reload-templates
7780
```
7881

7982
If you need to store big files in the repository's directory it's recommended to

0 commit comments

Comments
 (0)