Skip to content

stop script generate a status 1 #68

Description

@darlanmendonca

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

screen shot 2017-12-15 at 08 38 06

Any ideas how to proceed to avoid this behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions