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)
parent
ea2412297d
commit
1ef0f3b549
|
@ -409,7 +409,7 @@ void reload_so() {
|
||||||
int now = os__file_last_mod_unix(tos2("$file"));
|
int now = os__file_last_mod_unix(tos2("$file"));
|
||||||
if (now != last) {
|
if (now != last) {
|
||||||
//v -o bounce -shared bounce.v
|
//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;
|
last = now;
|
||||||
load_so("$so_name");
|
load_so("$so_name");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue