Direction: Choose the correct option
Q1.
Which method is used to watch for changes to a file or directory?
Direction: Choose the correct option
Q2.
What events can `fs.watch()` emit?
Direction: Choose the correct option
Q3.
What is an alternative to `fs.watch()` that is more efficient?
Direction: Choose the correct option
Q4.
What does the `listener` function in `fs.watch()` receive?
Direction: Choose the correct option
Q5.
Why might `fs.watch()` not be recommended for production?
