Opal-Estate-Pro/node_modules/browser-sync/dist/server/snippet-server.js

14 lines
413 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
"use strict";
var connect = require("connect");
var serverUtils = require("./utils.js");
/**
* Create a server for the snippet
* @param {BrowserSync} bs
* @param scripts
* @returns {*}
*/
module.exports = function createSnippetServer(bs, scripts) {
var app = serverUtils.getBaseApp(bs, bs.options, scripts);
return serverUtils.getServer(app, bs.options);
};
//# sourceMappingURL=snippet-server.js.map