Teammates: Dev docs: explain how to run dev server in CLI with console output visible

Created on 9 Jun 2017  路  5Comments  路  Source: TEAMMATES/teammates

Current:
gradlew appEngineRun starts the dev server in CLI mode.

Problem:
In this mode, dev is unable to see the console output of the dev server. It is better if the dev can see the console output e.g. for debugging

Suggested:
Find out and document how to run the dev serve in CLI mode with the console output visible.

Edit:
Simply add the command ./gradlew appengineRun -Pdisable_daemon to development.md#managing-the-dev-server.

a-DevHelp a-Docs good first issue p.Low

Most helpful comment

I can work on this problem

All 5 comments

Just adding some info here. This can be done with ./gradlew appengineRun -Pdisable_daemon

Just adding some info here. This can be done with ./gradlew appengineRun -Pdisable_daemon

Looks like leaving org.gradle.daemon=false in the gradle.properties doesn't have the same effect. So we have to enable it and then disable it :-p

@damithc oh they don't refer to the same daemon, this property refers to the app engine specific daemon, not the Gradle daemon.

Seems like disable_daemon is actually our own custom property, used to pass the daemon option to the appengineRun closure (link).

I can work on this problem

Was this page helpful?
0 / 5 - 0 ratings