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

suitecloud.config.js commands: "project:deploy" is "cached" after 1st execution. #735

Open
duprayj782sdnm opened this issue Jun 8, 2023 · 1 comment
Labels
bug Something isn't working tracked Already in Backlog

Comments

@duprayj782sdnm
Copy link

Select the SuiteCloud tool where you encountered the issue

SuiteCloud Extension for VSCode

Version of the SuiteCloud Tool

1.4.3

Operating system

macOS Ventura 13.4

Node Version / VSCode Version

v20.2.0 / 1.79.0

JAVA Version

java 17.0.4.1+1-LTS-2

Bug description

After trigger the SuiteCloud: Deploy Project the suitecloud.config.js commands: "project:deploy" is "cached".
Any changes added to the commands form suitecloud.config.js are just ignored.
I need to reboot the VS code each time I change the NS account (eg. from sandbox to production) to have the "correct" suitecloud.config.js execution.

Steps To Reproduce

  1. Execute SuiteCloud: Deploy Project
  2. Modify suitecloud.config.js: module.exports.commands."project:deploy".beforeExecuting method. eg add a throw new Error("stop the deploy");
  3. Execute SuiteCloud: Deploy Project -> the old settings are executed the above error is ignored.

Actual Output

No response

Expected Output

No response

Anything else?

No response

@antoniofruci antoniofruci added investigating bug Something isn't working tracked Already in Backlog and removed investigating labels Jun 9, 2023
@tourajvaziri
Copy link
Member

Hello @j782sdnm Thanks for letting us know. We are able to reproduce the issue and will include a fix in the next update.
In the meantime, please restart the vscode application to get the updated content.

Thanks,
Touraj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked Already in Backlog
Projects
None yet
Development

No branches or pull requests

3 participants