1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-17 02:32:20 +01:00

[esp32] Rebuild when idf_component.yml changes (#10540)

This commit is contained in:
Jonathan Swoboda
2025-09-03 11:47:51 -04:00
committed by GitHub
parent 68628a85b1
commit 4d681ffe3d
2 changed files with 10 additions and 1 deletions

View File

@@ -310,6 +310,10 @@ def clean_build():
if os.path.isdir(piolibdeps):
_LOGGER.info("Deleting %s", piolibdeps)
shutil.rmtree(piolibdeps)
dependencies_lock = CORE.relative_build_path("dependencies.lock")
if os.path.isfile(dependencies_lock):
_LOGGER.info("Deleting %s", dependencies_lock)
os.remove(dependencies_lock)
GITIGNORE_CONTENT = """# Gitignore settings for ESPHome