After opening the sketch in the Arduino IDE, click on the Verify checkmark to compile the code. This will save some time when uploading the code to the board.