Created
June 10, 2016 16:28
-
-
Save alxvallejo/3a9b347badc6ee3fe00b61e57d18188e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('dev', ['default'], function() { | |
gulp.src(['./www/js/app.js']) // build directory | |
.pipe(replace('@@ENV', 'https://dev-api-url')) | |
.pipe(gulp.dest('./www/js/app.js')); | |
}); | |
// returns error: Error: EEXIST: file already exists, mkdir '/Users/avallejo/Sites/cpIonic/www/js/app.js' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment