text: 'use strict';
  var fallback = require('connect-history-api-fallback');
  var log = require('connect-logger');
  /*
   | For up-to-date information about the options:
   |   http://www.browsersync.io/docs/options/
   */
  module.exports = {
    injectChanges: false, // workaround for Angular 2 styleUrls loading
    open: false,
    port: process.env.PORT|| 3000,
    files: ['./**/*.{html,htm,css,js}'],
    watchOptions: {
      ignored: 'node_modules'
    },
    server: {
      baseDir:  ['./scr', './build/contracts',"./node_modules"],
      middleware: [
        log({ format: '%date %status %method %url' }),
        fallback({
          index: '/buyer.html',
          htmlAcceptHeaders: ['text/html', 'application/xhtml+xml'] // systemjs workaround
        })
      ]
    }
  };
  