From 9b1f7f5e94e3c70938af2e6ba9182f1db17fd33a Mon Sep 17 00:00:00 2001 From: Benjamin Thomas Date: Fri, 29 Apr 2022 19:57:04 +0200 Subject: [PATCH] doc: suggest a basic auto-reload setup (#14216) --- tutorials/building_a_simple_web_blog_with_vweb/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tutorials/building_a_simple_web_blog_with_vweb/README.md b/tutorials/building_a_simple_web_blog_with_vweb/README.md index 94ca8a386f..fe1a611f21 100644 --- a/tutorials/building_a_simple_web_blog_with_vweb/README.md +++ b/tutorials/building_a_simple_web_blog_with_vweb/README.md @@ -112,9 +112,7 @@ fn (mut app App) time() vweb.Result { ->You have to rebuild and restart the website every time you change the code. -In the future, Vweb will detect changes and recompile the website in the background -while it's running. +>TIP: run the following command to live-reload the server: `v watch run blog.v` The `.text(string)` method returns a plain text document with the provided text, which isn't frequently used in websites.