You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So that did fix the initial issue, it's not rebuilding everything every time now.
Now I'm noticing that if I change options in the pio ci command, platformio.ini is not updated to reflect those.
So for example, if I pass --project-option="build_flags = -Dsomething=42" and then pass --project-option="build_flags = -Dsomething=43", platformio.ini is not updated.
Activity
ivankravets commentedon Feb 23, 2019
Thanks! Please re-test with
$ pio upgrade --dev.Fix an issue when `platformio ci` recompiles project if ``--keep-buil…
mtfurlan commentedon Mar 31, 2019
So that did fix the initial issue, it's not rebuilding everything every time now.
Now I'm noticing that if I change options in the
pio cicommand,platformio.iniis not updated to reflect those.So for example, if I pass
--project-option="build_flags = -Dsomething=42"and then pass--project-option="build_flags = -Dsomething=43", platformio.ini is not updated.ivankravets commentedon Apr 1, 2019
If you update
platformio.ini, we will recompile the whole project. So, there is no sense in--keep-build-dir.There are a few workarounds:
pio ci --exclude=platformio.ini- means, we will remove previouspio ci --project-conf /path/to/custom/platformio.ini