Skip to content

Commit a657f25

Browse files
joyeecheungrichardlau
authored andcommitted
build: reconfigure when gyp files change on Windows
Previously only changes to .gypi files trigger a reconfigure on Windows. PR-URL: #39066 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 4c2b813 commit a657f25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vcbuild.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ if defined projgen goto run-configure
333333
if not exist node.sln goto run-configure
334334
if not exist .gyp_configure_stamp goto run-configure
335335
echo %configure_flags% > .tmp_gyp_configure_stamp
336-
where /R . /T *.gyp? >> .tmp_gyp_configure_stamp
336+
where /R . /T *.gyp* >> .tmp_gyp_configure_stamp
337337
fc .gyp_configure_stamp .tmp_gyp_configure_stamp >NUL 2>&1
338338
if errorlevel 1 goto run-configure
339339

@@ -354,7 +354,7 @@ if not exist node.sln goto create-msvs-files-failed
354354
set project_generated=1
355355
echo Project files generated.
356356
echo %configure_flags% > .gyp_configure_stamp
357-
where /R . /T *.gyp? >> .gyp_configure_stamp
357+
where /R . /T *.gyp* >> .gyp_configure_stamp
358358

359359
:msbuild
360360
@rem Skip build if requested.

0 commit comments

Comments
 (0)