fix issue related to node-dev reloading
- instead of throwing an error (which will block node-dev to reload the failing script), let's print the exception and let the exception propagate
- exception should be printed only once
- improve error message
- `settings` object is created only once
- remove `node.d.ts` dependency - this should be supplied by the user