I have a shell script with the following script
#!/bin/bash
set -e
./node_modules/.bin/pug hotsite/index.pug \
--out docs/ \
--silent \
--watch hotsite/index.pug
unfortunately, when I stop script typing ctrl+c, I receive the following error on npm

Any ideas how to proceed to avoid this behavior?