Auto-compiles post-start in `~run` mode

fixes #1067