summary refs log tree commit diff stats
path: root/compiler/commands.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r--compiler/commands.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index 2e9b6f8db..5b8f569ac 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -473,6 +473,10 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
     processOnOffSwitch({optMemTracker}, arg, pass, info)
     if optMemTracker in gOptions: defineSymbol("memtracker")
     else: undefSymbol("memtracker")
+  of "hotreloading":
+    processOnOffSwitch({optHotReloading}, arg, pass, info)
+    if optHotReloading in gOptions: defineSymbol("hotreloading")
+    else: undefSymbol("hotreloading")
   of "oldnewlines":
     case arg.normalize
     of "on":