From 8b7c8bd35f8695f4459cfd623f9961c276e0d5a6 Mon Sep 17 00:00:00 2001 From: SinaVee Date: Wed, 16 May 2018 17:09:59 +0800 Subject: [PATCH] docs(d.ts): add property of EggAppConfig.development (#2561) reloadOnDebug - whether reload on debug, default is true. overrideDefault - whether override default watchDirs, default is false. reloadPattern - whether to reload, use https://github.com/sindresorhus/multimatch --- index.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/index.d.ts b/index.d.ts index cf7c5a82f8..d561d97ef3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -296,6 +296,18 @@ declare module 'egg' { * don't wait all plugins ready, default is true. */ fastReady: boolean; + /** + * whether reload on debug, default is true. + */ + reloadOnDebug: boolean; + /** + * whether override default watchDirs, default is false. + */ + overrideDefault: boolean; + /** + * whether to reload, use https://github.com/sindresorhus/multimatch + */ + reloadPattern: string[] | string; }; /** * It will ignore special keys when dumpConfig