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

After changing the source code, the compiled code does not take effect immediately. #1475

Closed
cjy513203427 opened this issue Feb 3, 2025 · 5 comments

Comments

@cjy513203427
Copy link

Thanks for your great work!

My OS Information:
Microsoft Windows 11 Pro x64
VSCode 1.96.4
InterSystems ObjectScript Extension Pack 1.0.3
IRIS in Docker: IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.3 (Build 217U) Thu Nov 14 2024 17:37:22 EST

Image

Sometimes after compiling code, the code changes in the .int file don't take effect immediately.
I have to restart vscode to make it work. This is a little annoying.

@isc-bsaviano
Copy link
Contributor

@cjy513203427 I think this is behavior is caused by the compile flags. You have the u flag set, so the compiler might be skipping the regeneration of the INT routine since it hasn't "changed" materially.

@cjy513203427
Copy link
Author

Hi. Now I have removed the "u" from the compile flags.
Unfortunately, it doesn't work right away. But after a few minutes it does. I cannot explain why.

Image

@isc-bsaviano
Copy link
Contributor

Thanks for the update. I will try to reproduce this again.

@isc-bsaviano
Copy link
Contributor

I cannot reproduce this using a recent beta version of the extension. I made major changes to the client-side editing workflow, so the current code differs greatly from the last released version. I suspect that a change I made in #1401 resolved this issue.

@isc-bsaviano
Copy link
Contributor

Closing because I believe this is already resolved

@isc-bsaviano isc-bsaviano closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2025
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