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
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