-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add documentation for environment variables to configure watching of files and directories #792
Conversation
…files and directories Fixes microsoft/TypeScript#25715
pages/Configuring Watch.md
Outdated
@@ -0,0 +1,30 @@ | |||
## Configuring Watch of file and directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a link to this page from the compilerOptions page watch section.
pages/Configuring Watch.md
Outdated
@@ -0,0 +1,30 @@ | |||
## Configuring Watch of file and directory | |||
|
|||
`fs.watch` and `fs.watchFile` provided by node, both have pros and cons. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would add a heading for this section as Background
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would start be saying the --watch
implementation relies on node's underlying fs.watch/fs.watch file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also consider moving this section to the bottom.
pages/Configuring Watch.md
Outdated
@@ -0,0 +1,30 @@ | |||
## Configuring Watch of file and directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not think you need the header. the page title is sufficient.
2a49d19
to
bf0e3c2
Compare
Add documentation for environment variables to configure watching of files and directories
Fixes microsoft/TypeScript#25715