bin/config/karma.conf.js
function (args, config, logger, helper) {
      console.log(chalk.blue('Running server on http://localhost:' + port + '.....PID:' + process.pid))

      var express = require('express')
      var expressApp = express()

      // require server path and pass express expressApp to it
      require(pathToServer)(expressApp)

      expressApp.listen(port)
    }
function (args, config, logger, helper) {
      console.log(chalk.blue('Running server on http://localhost:' + port + '.....PID:' + process.pid))

      var express = require('express')
      var expressApp = express()

      // require server path and pass express expressApp to it
      require(pathToServer)(expressApp)

      expressApp.listen(port)
    }
function ( args , config , logger , helper ) { console . log ( chalk . blue ( 'Running server on http://localhost:' + port + '.....PID:' + process . pid ) ) var express = require ( 'express' ) var expressApp = express ( ) // require server path and pass express expressApp to it require ( pathToServer ) ( expressApp ) expressApp . listen ( port ) }
If statsSync is successfull push plugin and run express server
If statsSync is successfull push plugin and run express server