node-temp
node-temp copied to clipboard
Update temp.js
Temp directory changes on darwin while programs are running and it tries to create a file at the wrong path because dir = is set at the beginning when module loads instead of to the current path.