Added loading spinner when compiling