const startNotifying = require('webpack-sane-compiler-notifier');const { stop, options } = startNotifying(compiler, {/* options */});// Call compiler.run() or compiler.watch() to start a compilation and you will see OS notifications showing up// Calling stop() will stop listening to the compiler events// Furthermore, you have access to the options that were computed by the merge of provided options and the defaults