Compile c++ files whenever the executable is about to be executed