Skip to content

Commit 99d9a6a

Browse files
Document new behavior
Now when the service receives an error, the watcher stops releasing all resources, so if you try to stop the service after an error, you will get an exception.
1 parent b3dad2b commit 99d9a6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,7 @@ nsfw.actions = {
118118
## Installation
119119
NSFW is a native node module and requires Node-Gyp to be functional before you can install it.
120120
Make sure you have completed installing all of the dependencies listed for [Node-Gyp](https://github.com/nodejs/node-gyp) on your operating system.
121+
122+
## Breaking changes
123+
Prior to version 2.2.0 when the service receive an error, the service is shutdown but the watcher is not stopped.
124+
Now when the service receives an error, the watcher stops releasing all resources, so if you try to stop the service after an error, you will get an exception.

0 commit comments

Comments
 (0)