mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: remove deprecation
This commit is contained in:
1 parent
833b960a48
commit
9971967fd1
11 files changed
+47
-20
No files matched your search
@@ -40,7 +40,7 @@ export async function apply(ctx: Context) {
|
||||
await storage.loadStorageService();
|
||||
await require('../service/server').apply(ctx);
|
||||
// Make sure everything is ready and then start main entry
|
||||
if (argv.options.watch) await ctx.loader.reloadPlugin(ctx, 'hydrooj/src/service/watcher', {});
|
||||
if (argv.options.watch) ctx.plugin(require('../service/watcher').default, {});
|
||||
await ctx.root.start();
|
||||
require('../lib/index');
|
||||
await lib(pending, fail, ctx);
|
||||
|
||||
Reference in new issue
Block a user