Skip to content

Stop exceptions from breaking the watcher#170

Open
thewilkybarkid wants to merge 1 commit intopattern-lab:developfrom
thewilkybarkid:watch-exception
Open

Stop exceptions from breaking the watcher#170
thewilkybarkid wants to merge 1 commit intopattern-lab:developfrom
thewilkybarkid:watch-exception

Conversation

@thewilkybarkid
Copy link

@thewilkybarkid thewilkybarkid commented Dec 5, 2018

We're currently hitting pattern-lab/patternengine-php-twig#34 (comment), where an invalid Twig template (possible while developing) breaks the watcher. Using --no-procs reveals the exception and the terminated process, otherwise it silently fails (the watch process continues, but nothing happens).

This catches any exception and outputs the message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant