Closed jcalfee closed 9 years ago
Thanks! I need to investigate what happens on windows when you use os.tmpdir
.
Will you reference this ticket on a commit so I will know when or if it gets fixed? (include #140 in the comment). It is probably ok to leave the ticket open, that is the easiest way to know.
@jcalfee It's the last thing I need to do for the 3.0.0 release - I plan on wrapping it up later today. Issue: https://github.com/substack/watchify/issues/168 PR: https://github.com/substack/watchify/pull/170
Just published 3.0.0.
@zertosh that is my only issue. Thanks for the reference to the other ticket.
This stopped working when we upgraded lineman. I'm deploying to a live directory which then picks it up and re-loads. Linemen would see that file and throw an error and prevent the deployment from working.
I changed the code to write the dotfile to the current directory then rename it to the output directory which has worked. You might want to consider an optional temp directory parameter so that you can guarantee the end user can provide a safe place for the file.
https://github.com/substack/watchify/blob/2.2.1/bin/cmd.js#L18