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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants