mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
windows: Fix path to server.js
in start.bat
This commit is contained in:
parent
29f2cd34f0
commit
22a67c5dc6
1 changed files with 11 additions and 1 deletions
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 a new issue