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.
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 defaultdist
folder, so that our build will be in another folder. The "correct" output folder should be read from thepath/to/app/project.json
attargets.build.options.outputPath
.To Reproduce Steps to reproduce the behavior:
outputPath
in yourproject.json
=> 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.