If "Project" > "Build Automatically" on the menu bar is checked, the build is automatically executed when the following things occur.
The project has been imported.
The resource was saved.
The build option was changed.