|
%!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
app | %!s(int64=2) %!d(string=hai) anos | |
config | %!s(int64=2) %!d(string=hai) anos | |
lib | %!s(int64=2) %!d(string=hai) anos | |
History.md | %!s(int64=2) %!d(string=hai) anos | |
LICENSE | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
agent.js | %!s(int64=2) %!d(string=hai) anos | |
app.js | %!s(int64=2) %!d(string=hai) anos | |
package.json | %!s(int64=2) %!d(string=hai) anos |
This is an egg plugin for local development, under development environment enabled by default, and closed under other environment.
egg-development
has been built-in for egg. It is enabled by default.
see config/config.default.js for more detail.
Under the following directory (including subdirectories) will watch file changes under development environment by default, trigger an Egg development environment server reload:
set
config.development.overrideDefault
totrue
to skip defaults merge.
Under the following directory (including subdirectories) will ignore file changes under development environment by default:
set
config.development.overrideIgnore
totrue
to skip defaults merge.
Developer can use config.reloadPattern
(multimatch) to control whether to reload.
// config/config.default.js
exports.development = {
// don't reload when ts fileChanged
// https://github.com/sindresorhus/multimatch
reloadPattern: ['**', '!**/*.ts'],
};
You can view loader trace for performance issue from http://127.0.0.1:7001/__loader_trace__
Please open an issue here.