({ app, watcher, ui, project, httpServer })
| 50 | |
| 51 | module.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'); |
nothing calls this directly
no outgoing calls
no test coverage detected