1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 08:55:24 +02:00

node: add --watch example (#9108)

This commit is contained in:
Axel Navarro 2022-10-16 23:04:15 -03:00 committed by GitHub
parent 9a4a5bd894
commit abfd806c50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,10 @@
`node`
- Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):
`node --watch {{path/to/file}}`
- Evaluate JavaScript code by passing it as an argument:
`node -e "{{code}}"`