Skip to content

Commit

Permalink
Document new behavior
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
julianmesa-gitkraken committed Feb 16, 2022
1 parent b3dad2b commit 4c1f280
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,7 @@ nsfw.actions = {
## Installation
NSFW is a native node module and requires Node-Gyp to be functional before you can install it.
Make sure you have completed installing all of the dependencies listed for [Node-Gyp](https://github.com/nodejs/node-gyp) on your operating system.

## Breaking changes
Prior to version 2.3.0 when the service receive an error, the service is shutdown but the watcher is not stopped.
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 comments on commit 4c1f280

Please sign in to comment.