mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 17:52:51 -06:00
gf -server[=port]
You can now specify which port the HTTP server should run on in server mode. The default is 41296.
This commit is contained in:
@@ -69,8 +69,8 @@ mainGFI opts files = do
|
||||
shell opts files = loop opts =<< importInEnv emptyGFEnv opts files
|
||||
|
||||
#ifdef SERVER_MODE
|
||||
mainServerGFI opts0 files =
|
||||
server (execute1 opts) =<< importInEnv emptyGFEnv opts files
|
||||
mainServerGFI opts0 port files =
|
||||
server port (execute1 opts) =<< importInEnv emptyGFEnv opts files
|
||||
where opts = beQuiet opts0
|
||||
#else
|
||||
mainServerGFI opts files =
|
||||
|
||||
Reference in New Issue
Block a user