Skip to content

app dist needs to be cleaned after a workspace switch aio app use  #692

Open
@purplecabbage

Description

@purplecabbage

Expected Behaviour

Running aio app use to switch to another workspace and then aio app run | aio app build | aio app deploy should build and deploy in the new target.

Actual Behaviour

ℹ No actions built for 'dx/excshell/1'
ℹ No frontend or a build already exists, skipping frontend build for 'dx/excshell/1'
ℹ No actions deployed for 'dx/excshell/1'
✔ Deploying web assets for 'dx/excshell/1'

The web assets are actually deployed, but even they are probably incorrect because they were not rebuilt for the new workspace.

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Environment Info

  System:
    OS: macOS 14.6.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 894.55 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.20.4 - ~/.nvm/versions/node/v18.20.4/bin/node
    Yarn: 1.22.19 - ~/.bun/bin/yarn
    npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm
  Virtualization:
    Docker: 20.10.17 - /usr/local/bin/docker
  npmGlobalPackages:
    @adobe/aio-cli: 10.3.1

Sample Code that illustrates the problem

Logs taken while reproducing problem

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions