From 8d76959e11ab7172040853fa4fadaf8d53e6aa12 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 8 Jul 2019 15:58:35 +0200 Subject: [PATCH] WIP plugins: working hook on server side --- server.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.ts b/server.ts index 4d20faa9b..ac373b041 100644 --- a/server.ts +++ b/server.ts @@ -267,6 +267,8 @@ async function startApplication () { server.listen(port, hostname, () => { logger.info('Server listening on %s:%d', hostname, port) logger.info('Web server: %s', WEBSERVER.URL) + + PluginManager.Instance.runHook('action:application.listening') }) process.on('exit', () => {