node-slate icon indicating copy to clipboard operation
node-slate copied to clipboard

Question: Deployment fails if build files already exist

Open andrewmelnyk opened this issue 7 years ago • 1 comments

Does anyone have any idea why the build script fails if it's already been run once? I'm trying to set up postcommit hooks to run the deploy script after I commit to my master branch so I don't have to remember to run the deploy script manually. However if the build files already exist in my local directory the deployment/build script fails.

22:26:34] 'fonts' errored after 206 ms [22:26:34] Error: EEXIST: file already exists, mkdir '/Users/melnyk/Sites/docs-home/build/fonts' at Error (native) [22:26:34] 'highlightjs' errored after 199 ms [22:26:34] Error: EEXIST: file already exists, mkdir '/Users/melnyk/Sites/docs-home/build/stylesheets' at Error (native)

Thank you

andrewmelnyk avatar Apr 29 '17 02:04 andrewmelnyk

@andreftavares Any updates on this issue? Seems to be fixed by PR #8 but it's not merged yet.

rsp avatar Dec 20 '17 15:12 rsp