cli: add --watch

PR-URL: https://github.com/nodejs/node/pull/44366
Fixes: https://github.com/nodejs/node/issues/40429
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Moshe Atlow 2022-08-23 20:50:21 +03:00
parent 50a413183e
commit beb0520af7
29 changed files with 954 additions and 42 deletions

View file

@ -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' ],
}],