change env take a lot of time to make effect [SOLVED]

hi

why when using init command in cmd to change the env, it takes a long time to make effect, for exam after 1 min, but when i check the codes in editor, it had been changed immediately

what is the solution?

is it related to cache or sth?

i tried a newly install yii2-app also, but the same problem!

thanks in advanced

Hi!

When you face this also on a FRESH app…

I would guess the problem must be somwhere on your local machine.

At least "init" takes less than one or two seconds on my console…

Regards

its ok on another computer but in my computer it sucks

it was because of opcache

solved by disabling it