watch: add initial implementation for `node --watch`
Fixes: https://github.com/nodejs/node/issues/40429
This is currently still WIP, opening this PR to gather some initial feedback
TODO
-
write documentation -
add tests -
explore use-cases and if they should be part of the initial implementation -
error handling / crashing -
debugging experience -
making things configurable? -
please comment if you come up with any interesting use case
-