Preventing file from compiling again if it's currently compiling.