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:
@ -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
|
||||
|
Reference in New Issue
Block a user