Closed aaronabramov closed 9 years ago
@dmitriiabramov thank you for spotting this. It's fixed here. There is a new version 0.3.5
released. The reason behind this is that Absurd may be used as a CLI program and there is a watching mode. In this case we want to keep the process running and only report that there is an error. What I did is simply running that logic only if Absurd is run from the terminal.
@krasimir thanks for fixing it so quickly!
You are welcome :)
hey. i noticed these lines inside
index.js
https://github.com/krasimir/absurd/blob/master/index.js#L22-L24Which will break any project that requires this library.
e.g. the code
will produce useless message:
instead of what node provides by default (including stack trace and all that):
is there way to get rid of it? and how is it used?