Skip to content

Commit 2507795

Browse files
committed
build: rebuild when gyp files changed on Windows
Previously only changes to .gypi files trigger a rebuild on Windows.
1 parent e4eadb2 commit 2507795

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
@@ -295,7 +295,7 @@ if defined projgen goto run-configure
295295
if not exist node.sln goto run-configure
296296
if not exist .gyp_configure_stamp goto run-configure
297297
echo %configure_flags% > .tmp_gyp_configure_stamp
298-
where /R . /T *.gyp? >> .tmp_gyp_configure_stamp
298+
where /R . /T *.gyp* >> .tmp_gyp_configure_stamp
299299
fc .gyp_configure_stamp .tmp_gyp_configure_stamp >NUL 2>&1
300300
if errorlevel 1 goto run-configure
301301

@@ -316,7 +316,7 @@ if not exist node.sln goto create-msvs-files-failed
316316
set project_generated=1
317317
echo Project files generated.
318318
echo %configure_flags% > .gyp_configure_stamp
319-
where /R . /T *.gyp? >> .gyp_configure_stamp
319+
where /R . /T *.gyp* >> .gyp_configure_stamp
320320

321321
:msbuild
322322
@rem Skip build if requested.

0 commit comments

Comments
 (0)