MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / constructor

Method constructor

lib/tasks/server/livereload-server.js:52–59  ·  view source on GitHub ↗
({ app, watcher, ui, project, httpServer })

Source from the content-addressed store, hash-verified

50
51module.exports = class LiveReloadServer {
52 constructor({ app, watcher, ui, project, httpServer }) {
53 this.app = app;
54 this.watcher = watcher;
55 this.ui = ui;
56 this.project = project;
57 this.httpServer = httpServer;
58 this.liveReloadPrefix = DEFAULT_PREFIX;
59 }
60
61 setupMiddleware(options) {
62 const tinylr = require('tiny-lr');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected