text: 'use strict';
  
  var config  = require('../config');
  var http    = require('http');
  var express = require('express');
  var gulp    = require('gulp');
  var gutil   = require('gulp-util');
  var morgan  = require('morgan');
  var browserSync = require('browser-sync');
  gulp.task('server', function() {
  
   /* var server = express();
  
    // log all requests to the console
    server.use(morgan('dev'));
    server.use(express.static(config.dist.root));
  
    // Start webserver if not already running
    var s = http.createServer(server);
    s.on('error', function(err){
      if(err.code === 'EADDRINUSE'){
        gutil.log('Development server is already started at port ' + config.serverport);
      }
      else {
        throw err;
      }
    });
  
    s.listen(config.serverport);
   */
  
  browserSync.init({
      server: {
          baseDir:"./"
      },
      
      port: config.serverport,
      open:true,
      notify:false
      
  });
  
  
  });