|
|
@ -12,6 +12,11 @@ module.exports = (embark) => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
server.listen(8080, '127.0.0.1', function () {}) |
|
|
|
server.listen(8080, '127.0.0.1', function () {}) |
|
|
|
var router = new remixd.Router() |
|
|
|
var router = new remixd.Router(65520, remixd.services.sharedFolder, (webSocket) => { |
|
|
|
router.start(path.join(__dirname, '/../../')) |
|
|
|
remixd.services.sharedFolder.setWebSocket(webSocket) |
|
|
|
|
|
|
|
var sharedFolder = path.join(__dirname, '/../../') |
|
|
|
|
|
|
|
remixd.services.sharedFolder.setupNotifications(sharedFolder) |
|
|
|
|
|
|
|
remixd.services.sharedFolder.sharedFolder(sharedFolder) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
router.start() |
|
|
|
} |
|
|
|
} |
|
|
|