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

Typescript module watch fails #10872

Closed
DamnClin opened this issue Sep 16, 2024 · 2 comments
Closed

Typescript module watch fails #10872

DamnClin opened this issue Sep 16, 2024 · 2 comments
Labels

Comments

@DamnClin
Copy link
Collaborator

Creating a project with typescript and start watch fails

14:20:18] Starting compilation in watch mode...

error TS18003: No inputs were found in config file '/home/colin/workspaces/dummy/tsconfig.json'. Specified 'include' paths were '["src/main/webapp/**/*","src/test/webapp/unit/**/*"]' and 'exclude' paths were '[]'.

[14:20:18] Found 1 error. Watching for file changes.


 DEV  v2.1.0 /home/colin/workspaces/dummy

include: src/test/webapp/unit/**/*.{test,spec}.?(c|m)[jt]s?(x)
exclude:  **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*

No test files found, exiting with code 1
@murdos
Copy link
Contributor

murdos commented Sep 16, 2024

I've just tested it.
it doesn't fail: the error is related to missing typescript code, but as soon as you start creating typescript code, the error disappear since the watch mode is effective.

I'm not sure that we could/should do anything here, it's just tsc behavior.

@DamnClin
Copy link
Collaborator Author

Oh, my bad, was too quick on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants