WIP plugins: working hook on server side
authorChocobozzz <me@florianbigard.com>
Mon, 8 Jul 2019 13:58:35 +0000 (15:58 +0200)
committerChocobozzz <chocobozzz@cpy.re>
Wed, 24 Jul 2019 08:58:16 +0000 (10:58 +0200)
server.ts

index 4d20faa9bbfdf1a92ac60f22da6154ca93d0fc62..ac373b041b4f2fe3b9bcfff7a36aaa8f77a69457 100644 (file)
--- 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', () => {