diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-21 15:21:15 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-21 15:21:15 +0200 |
commit | cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd (patch) | |
tree | f34d2642d33dd6fd8e864b101db13906d146f346 /server.js | |
parent | 9e379c835c2badfe8e9088e25870af0a6a8c4d40 (diff) | |
download | PeerTube-cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd.tar.gz PeerTube-cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd.tar.zst PeerTube-cd0e4b1acfbd4cc393f6cfcab718d66e25193fbd.zip |
Move livereload to an external script and remove from express.
Developers have to use the livereload plugin in their web browser now.
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -56,11 +56,6 @@ app.use(expressValidator({ | |||
56 | 56 | ||
57 | // ----------- Views, routes and static files ----------- | 57 | // ----------- Views, routes and static files ----------- |
58 | 58 | ||
59 | // Livereload | ||
60 | app.use(require('connect-livereload')({ | ||
61 | port: 35729 | ||
62 | })) | ||
63 | |||
64 | // Catch sefaults | 59 | // Catch sefaults |
65 | require('segfault-handler').registerHandler() | 60 | require('segfault-handler').registerHandler() |
66 | 61 | ||