fix live reload and live recompile