windows: Fix path to `server.js` in `start.bat`
parent
29f2cd34f0
commit
22a67c5dc6
12
start.bat
12
start.bat
|
@ -1 +1,11 @@
|
|||
node src\node\server.js
|
||||
@echo off
|
||||
REM Windows and symlinks do not get along with each other, so on Windows
|
||||
REM `node_modules\ep_etherpad-lite` is sometimes a full copy of `src` not a
|
||||
REM symlink to `src`. If it is a copy, Node.js sees `src\foo.js` and
|
||||
REM `node_modules\ep_etherpad-lite\foo.js` as two independent modules with
|
||||
REM independent state, when they should be treated as the same file. To work
|
||||
REM around this, everything must consistently use either `src` or
|
||||
REM `node_modules\ep_etherpad-lite` on Windows. Because some plugins access
|
||||
REM Etherpad internals via `require('ep_etherpad-lite/foo')`,
|
||||
REM `node_modules\ep_etherpad-lite` is used here.
|
||||
node node_modules\ep_etherpad-lite\node\server.js
|
||||
|
|
Loading…
Reference in New Issue