Skip to content
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

Failing to restart after TS error #81

Closed
Christilut opened this issue Feb 29, 2020 · 1 comment
Closed

Failing to restart after TS error #81

Christilut opened this issue Feb 29, 2020 · 1 comment

Comments

@Christilut
Copy link

I just installed the new version 4.2.0 and tsc-watch fails to restart after there were compilation errors.

For example this happens in the console:

config/cron.ts:7:40 - error TS2304: Cannot find name 'gatherStatDisk'.

7     new CronJob('0 0 */6 * * *', () => gatherStatDisk('/'), null, true) 
                                         ~~~~~~~~~~~~~~

[5:47:11 PM] Found 2 errors. Watching for file changes.


[5:48:21 PM] Found 0 errors. Watching for file changes.


[5:48:27 PM] Found 0 errors. Watching for file changes.

But it doesn't restart after the errors are fixed.

gilamran added a commit that referenced this issue Feb 29, 2020
@gilamran
Copy link
Owner

Nice catch!
Fixed on version 4.2.2

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

No branches or pull requests

2 participants