import gulp from 'gulp';
import browserSync from 'browser-sync';

const bs = browserSync.get('dev');

gulp.task('connect:dev', ['styles'], (done) => {
  bs.init({
    notify: false,
    port: 9000,
    open: false,
    server: {
      baseDir: ['.tmp', 'app']
    }
  }, done);
});

gulp.task('watch:dev', ['connect:dev'], function () {
  gulp.watch([
    'app/index.html',
    'app/scripts/**/*',
    'app/images/**/*',
    'app/config.js'
  ]).on('change', bs.reload);

  gulp.watch('app/styles/**/*.scss', ['styles']);
});

gulp.task('serve:dev', ['connect:dev', 'watch:dev']);

import gulp from 'gulp';
import browserSync from 'browser-sync';

const bs = browserSync.get('dev');

gulp.task('connect:dev', ['styles'], (done) => {
  bs.init({
    notify: false,
    port: 9000,
    open: false,
    server: {
      baseDir: ['.tmp', 'app']
    }
  }, done);
});

gulp.task('watch:dev', ['connect:dev'], function () {
  gulp.watch([
    'app/index.html',
    'app/scripts/**/*',
    'app/images/**/*',
    'app/jspm-config.js'
  ]).on('change', bs.reload);

  gulp.watch('app/styles/**/*.scss', ['styles']);
});

gulp.task('serve:dev', ['connect:dev', 'watch:dev']);

Fix wrong jspm config path
Fix wrong jspm config path
