1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: rename hot_code_reloading to hot_reload

This commit is contained in:
Alexander Medvednikov
2019-08-20 00:08:45 +03:00
parent 01586d6d67
commit 707ddba143
6 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1,22 @@
// Build this example with
// v -live message.v
module main
import time
import os
[live]
fn print_message() {
println('Hello! Modify this message while the program is running.')
}
fn main() {
for {
print_message()
time.sleep_ms(500)
}
}