docs: function (appServer) {
        appServer.use(function (req, res, next) {
          if (process.env.ENVIRONMENT === 'development') {
            // Lets not console log for status polling or webpack hot module reloading
            if (
              !req.url.includes('/status') &&
              !req.url.includes('/__webpack_hmr')
            ) {
              console.log('Using middleware for ' + req.url)
            }
          }
          next()
        })
  
        // Add webpack hot middleware to use for error overlay
        // Quiet is set to true because well let WebpackDevServer handle console logging
        appServer.use(webpackHotMiddleware(compiler))
  
        // If there is a server.js file load it and pass appServer to it
        if (pathToServer) {
          require(pathToServer)(appServer)
        }
      }