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

live: use mostly pure V code for reloading, eases customization

This commit is contained in:
Delyan Angelov
2020-05-03 18:59:11 +03:00
parent b4e4e6bb21
commit 845ffb59a6
13 changed files with 282 additions and 210 deletions

View File

@ -1,11 +1,5 @@
module main
import os
import time
import dl
const (
os_used = os.MAX_PATH
time_used = time.now()
dl_used = dl.version
)
// This prelude is loaded in every v program compiled with -live,
// but only for the main executable.
import live.executable