gulp-server-io
Version:
A local static server, plus livereload and a socket.io debugger for your SPA development with gulp
15 lines (14 loc) • 395 B
JavaScript
;
/**
* Top level export method
* @TODO export a gulp version with the gulp-inject
* otherwise just export the method
*/
const gulpServerIo = require('./src');
const { createConfiguration } = require('./src/lib/options');
// Main
module.exports = function(options) {
const config = createConfiguration(options);
config.__processed__ = true;
return gulpServerIo(config);
};