webpack-dev-server
Version:
Serves a webpack app. Updates the browser on changes.
17 lines (14 loc) • 442 B
JavaScript
/** @typedef {import("../Server.js").ClientConnection} ClientConnection */
// base class that users should extend if they are making their own
// server implementation
export default class BaseServer {
/**
* @param {import("../Server.js").default} server server
*/
constructor(server) {
/** @type {import("../Server.js").default} */
this.server = server;
/** @type {ClientConnection[]} */
this.clients = [];
}
}