Also connect to .tmp

Otherwise autoprefixed files will be ignored
Also make the other connect statement simpler
Merge pull request #505 from LeovR/patch-3

Also connect to .tmp