From 1ef0f3b549c1f6ef247d58aa04b4c3ba8331e591 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 18 Jul 2019 16:42:32 +0300 Subject: [PATCH] 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) --- compiler/main.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/main.v b/compiler/main.v index c000011cb4..952b786b19 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -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"); }