Output code-server version on startup

This commit is contained in:
Asher 2020-02-28 13:30:21 -06:00
parent 0f87798ed6
commit a8914b025f
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -52,6 +52,7 @@ const main = async (args: Args): Promise<void> => {
ipcMain().onDispose(() => httpServer.dispose()) ipcMain().onDispose(() => httpServer.dispose())
logger.info(`code-server ${require("../../package.json").version}`)
const serverAddress = await httpServer.listen() const serverAddress = await httpServer.listen()
logger.info(`Server listening on ${serverAddress}`) logger.info(`Server listening on ${serverAddress}`)