From a657f250f15453603e2f5a3a81983ce0a8f923f6 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously only changes to .gypi files trigger a reconfigure on Windows. PR-URL: https://github.com/nodejs/node/pull/39066 Reviewed-By: Richard Lau Reviewed-By: Michaƫl Zasso Reviewed-By: Anna Henningsen --- vcbuild.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcbuild.bat b/vcbuild.bat index b821cf6a674ca2..9a32b2b033418d 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -333,7 +333,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 @@ -354,7 +354,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.