Skip to content

Commit d84d426

Browse files
author
Yegor Bugayenko
committed
#364 documented
1 parent 3ea74e5 commit d84d426

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,11 @@ $ java -cp take.jar App.class --port=8080 --refresh
829829

830830
You should see "hello, world!" at `http://localhost:8080`.
831831

832+
Parameter `--port` also accepts file name, instead of a number. If the file
833+
exists, `FtCLI` will try to read its content and use it as
834+
port number. If the file is absent, `FtCLI` will allocate a new random
835+
port number, use it to start a server, and save it to the file.
836+
832837
## Logging
833838

834839
The framework sends all logs to SLF4J logging facility. If you want to see them,

0 commit comments

Comments
 (0)