Adds ability to run livequery server on different port (appengine) (#2892)

* Adds ability to run livequery server on different port (appengine)
This commit is contained in:
Florent Vilmart
2016-10-19 20:11:25 -04:00
committed by Arthur Cinader
parent 86f35014f4
commit 5dc24334a5
2 changed files with 12 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ export default {
help: "Run with cluster, optionally set the number of processes default to os.cpus().length",
action: numberOrBoolParser("cluster")
},
"liveQuery.classNames": {
"liveQuery": {
help: "parse-server's LiveQuery configuration object",
action: objectParser
},
@@ -214,6 +214,10 @@ export default {
help: "Starts the liveQuery server",
action: booleanParser
},
"liveQueryPort": {
help: 'Specific port to start the live query server',
action: numberParser("liveQueryPort")
},
"liveQueryServerOptions": {
help: "Live query server configuration options (will start the liveQuery server)",
action: objectParser