Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] 允许开启是否使用 Runtime 缓存 #37

Closed
no-serve-people opened this issue Jun 25, 2019 · 3 comments
Closed

[FEATURE] 允许开启是否使用 Runtime 缓存 #37

no-serve-people opened this issue Jun 25, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@no-serve-people
Copy link
Contributor

建议区分下开发环境跟线上环境也可以,开发模式下不生成缓存。目前的办法是只能每次删除runtime目录,才能使得新的切面生效

@no-serve-people no-serve-people added the bug Something isn't working label Jun 25, 2019
@huangzhhui huangzhhui changed the title [BUG] 本地开发测试时,切面会生成缓存。导致切面无法切入成功 [FEATURE] 允许开启是否使用 Runtime 缓存 Jun 25, 2019
@assert6 assert6 added enhancement New feature or request and removed bug Something isn't working labels Jun 26, 2019
@limingxinleo
Copy link
Member

#51

@limingxinleo
Copy link
Member

更新 di 组件到 dev-master

然后修改 container.php

$container = new Container(new DefinitionSource($serverDependencies, $scanDirs, new Scanner(),true));

@limingxinleo
Copy link
Member

这里自己做成配置即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants