Skip to content

Commit

Permalink
--debug flag when running the server.
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanik committed Jan 3, 2013
1 parent 91a6c39 commit ff204cc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion run-server.bat
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ SET MAP_GENERATOR="improved"
REM Map random number generator seed
SET MAP_SEED=0

node %DIR%\server\server.js ^
SET JSFILE="server.js"
IF NOT "%1" == "--debug" GOTO NOT_DEBUG
SET JSFILE="server-uncompiled.js"
:NOT_DEBUG

node %DIR%\server\\%JSFILE% ^
--browserUrl=%BROWSER_URL% ^
--serverId=%SERVER_ID% ^
--serverKey=%SERVER_KEY% ^
Expand Down

0 comments on commit ff204cc

Please sign in to comment.