Temporary files will appear if you do not close Photoshop entirely or open the Smart Object and do not close them with the Smart Object layer. Photoshop temporary files have a .temp extension, so it is easy to find them on your Mac.