Use different build dir than just build. Write "doctor" command to find common problems. Rebuild .auto before each command.