Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Stop exceptions from breaking the watcher#170

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

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

Conversation

@thewilkybarkid
Copy link
Copy Markdown

@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant