From 525763ae377167dfdc73f374988c6d821e8fd4da Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Fri, 18 Jun 2021 03:47:06 +0800 Subject: [PATCH] build: reconfigure when gyp files change on Windows Previously only changes to .gypi files trigger a reconfigure on Windows. --- vcbuild.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcbuild.bat b/vcbuild.bat index 254adfc9910f1d..202b0ecb7e69e8 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -295,7 +295,7 @@ if defined projgen goto run-configure if not exist node.sln goto run-configure if not exist .gyp_configure_stamp goto run-configure echo %configure_flags% > .tmp_gyp_configure_stamp -where /R . /T *.gyp? >> .tmp_gyp_configure_stamp +where /R . /T *.gyp* >> .tmp_gyp_configure_stamp fc .gyp_configure_stamp .tmp_gyp_configure_stamp >NUL 2>&1 if errorlevel 1 goto run-configure @@ -316,7 +316,7 @@ if not exist node.sln goto create-msvs-files-failed set project_generated=1 echo Project files generated. echo %configure_flags% > .gyp_configure_stamp -where /R . /T *.gyp? >> .gyp_configure_stamp +where /R . /T *.gyp* >> .gyp_configure_stamp :msbuild @rem Skip build if requested.