quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.5k stars 2.6k forks source link

'Live coding activated' is printed despite the password is not set. #12581

Open rvansa opened 3 years ago

rvansa commented 3 years ago

Describe the bug I didn't set quarkus.live-reload.password when the application was started (only when it was built) and even though the server has printed:

2020-10-07 11:43:44,799 INFO [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.

when trying to connect I got

Remote dev request failed: java.io.IOException: Server did not start a remote dev session

Expected behavior The server should print something like 'Profile dev activated. Live Coding disabled due to missing password'

Actual behavior Server starts but does not use the RemoteSyncHandler and there's no hint in log.

Quarkus version or git rev: 1.8.1

stuartwdouglas commented 3 years ago

It is still activated without the password, but you need to use rsync (or a similar tool) to sync the class files. I might print a WARN level message about this in the logs though.