Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Q: how to refresh code? #74

Open
lov3catch opened this issue Jan 17, 2023 · 1 comment
Open

Q: how to refresh code? #74

lov3catch opened this issue Jan 17, 2023 · 1 comment

Comments

@lov3catch
Copy link

Hi
When I changed the method body and call this method from psysh - I get results like from the old code.

Example:

function foo() {echo 'foo';}

(psysh): foo();
(psysh): foo

Then I change the func: function foo() {echo 'bar';}

But:

(psysh): foo();
(psysh): foo // <---- Still the same

What did I do wrong? I try unset and cache clean, but the code refreshed only when psysh is restarted.

Note:

  • symfony project is running in docker.
  • when call show foo - the code is fresh and actual.
@theofidry
Copy link
Owner

To be honest I have no clue :( Maybe there is a history saved somewhere? I remember there is a PSYSH setting for that

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants