Menu icon Foundation
Change Location of Browser Sync

I need to change the location of my DIST files in Foundation for Email. I've figured out how to get Foundation to compile the files in the correct location, but I can't figure out how to get BrowserSync to pick up on the new location. In the gulpfile.babel.js file, I changed this:

// Copy and compress images
function images() {
  return gulp.src('src/assets/img/**/*')
    .pipe($.imagemin())
    .pipe(gulp.dest('../assets/img'));
}

// Inline CSS and minify HTML
function inline() {
  return gulp.src('dist/**/*.html')
    .pipe($.if(PRODUCTION, inliner('dist/css/app.css')))
    .pipe(gulp.dest('dist'));
}

Is there another bit of code that needs to be changed to get BrowserSync to display the files?

Thanks in advance.

browsersyncdist

I need to change the location of my DIST files in Foundation for Email. I've figured out how to get Foundation to compile the files in the correct location, but I can't figure out how to get BrowserSync to pick up on the new location. In the gulpfile.babel.js file, I changed this:

// Copy and compress images
function images() {
  return gulp.src('src/assets/img/**/*')
    .pipe($.imagemin())
    .pipe(gulp.dest('../assets/img'));
}

// Inline CSS and minify HTML
function inline() {
  return gulp.src('dist/**/*.html')
    .pipe($.if(PRODUCTION, inliner('dist/css/app.css')))
    .pipe(gulp.dest('dist'));
}

Is there another bit of code that needs to be changed to get BrowserSync to display the files?

Thanks in advance.