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

Capacitor: Running any command leads to a build being triggered #981

Closed
owehmer opened this issue Jul 18, 2023 · 0 comments · Fixed by #1001
Closed

Capacitor: Running any command leads to a build being triggered #981

owehmer opened this issue Jul 18, 2023 · 0 comments · Fixed by #1001
Assignees
Labels
bug Something isn't working

Comments

@owehmer
Copy link

owehmer commented Jul 18, 2023

Describe the bug
Ever since this commit every capacitor call leads to a build being triggered for us (Running build first...). The problem is, that this line requires that {root}/dist/path/to/app exists. We changed the default dist folder, so that our build will be in another folder. The "correct" output folder should be read from the path/to/app/project.json at targets.build.options.outputPath.

To Reproduce
Steps to reproduce the behavior:

  • change the outputPath in your project.json
  • build your app and run any capacitor command OR
  • run any capacitor command twice

=> both times a build will be triggered

Expected behavior
The second command should check if there is already a built app folder and therefore not run the build a second time.

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

Successfully merging a pull request may close this issue.

2 participants