The "compiling..." string does not appear when compiling this program:
when nimvm:
echo "compiling..."
else:
echo "running..."
you need to put the echo in a static block so it's run at compile time:
when nimvm:
static:
echo "compiling..."
else:
echo "running..."
So this is expected nimvm behavior? I thought it would operate like static. This works as I expect:
static:
echo "compiling"
echo "running"