Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoshe Atlow <moshe@atlow.co.il>2022-09-29 12:19:09 +0300
committerDanielle Adams <adamzdanielle@gmail.com>2022-10-02 13:09:37 +0300
commit2f5f41c315c0dea7afcc827d2a33869a23dc666a (patch)
tree9d3eb5486192e1ec20441d7c26f8c96a72851d39 /node.gypi
parent2e7a17d73551dea4974e7067037b1f135215698e (diff)
cli: add `--watch`
PR-URL: https://github.com/nodejs/node/pull/44366 Backport-PR-URL: https://github.com/nodejs/node/pull/44815 Fixes: https://github.com/nodejs/node/issues/40429 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'node.gypi')
-rw-r--r--node.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/node.gypi b/node.gypi
index e469716b0c1..0b0f05322e7 100644
--- a/node.gypi
+++ b/node.gypi
@@ -317,6 +317,12 @@
}],
],
}],
+ [ 'coverage=="true"', {
+ 'defines': [
+ 'ALLOW_ATTACHING_DEBUGGER_IN_WATCH_MODE',
+ 'ALLOW_ATTACHING_DEBUGGER_IN_TEST_RUNNER',
+ ],
+ }],
[ 'OS=="sunos"', {
'ldflags': [ '-Wl,-M,/usr/lib/ld/map.noexstk' ],
}],