-
-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot reload is not working with this demo #1174
Comments
Thanks, fixed. |
@icebob Hello, I use typescript template from scratch. Start with A solution may be to add try catch block in runner.js line 438 and I use ts-node-dev _.uniq(serviceFiles).forEach(f => {
try {
this.broker.loadService(f)
} catch (e) { }
});` |
Nice catch, could you please open a fix PR? |
@icebob, I rechecked my fix, and it only helps at the start if errors exist, but it breaks hot-reload. |
If the typescript code is invalid, it will crash the server instead of failing to load the service nicely.
A solution may be to add this to hot-reload.js line 33
The text was updated successfully, but these errors were encountered: