Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Add documentation for environment variables to configure watching of files and directories #792

Merged
merged 2 commits into from
Jul 24, 2018

Conversation

sheetalkamat
Copy link
Member

@@ -0,0 +1,30 @@
## Configuring Watch of file and directory
Copy link
Contributor

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.

@@ -0,0 +1,30 @@
## Configuring Watch of file and directory

`fs.watch` and `fs.watchFile` provided by node, both have pros and cons.
Copy link
Contributor

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

Copy link
Contributor

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.

Copy link
Contributor

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.

@@ -0,0 +1,30 @@
## Configuring Watch of file and directory
Copy link
Contributor

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.

@sheetalkamat sheetalkamat merged commit 37ff9c3 into master Jul 24, 2018
@sheetalkamat sheetalkamat deleted the watchOptions branch July 24, 2018 19:41
alipiry pushed a commit to alipiry/TypeScript-Handbook that referenced this pull request Jan 5, 2020
Add documentation for environment variables to configure watching of files and directories
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants