live reload: the reload_so function now uses too, instead of hard coding the v name (which some people do not have in their PATH or have as an alias)

pull/1231/head
Delyan Angelov 2019-07-18 16:42:32 +03:00 committed by Alexander Medvednikov
parent ea2412297d
commit 1ef0f3b549
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ void reload_so() {
int now = os__file_last_mod_unix(tos2("$file"));
if (now != last) {
//v -o bounce -shared bounce.v
os__system(tos2("v -o $file_base -shared $file"));
os__system(tos2("$vexe -o $file_base -shared $file"));
last = now;
load_so("$so_name");
}