Repository navigation
What does "files" options actually do? #1348
Unanswered
anotheruser584
asked this question in
Q&A
Replies: 1 comment 2 replies
|
The docs for "--files" aren't great. Like all things open-source, given limited time I've had to prioritize other things. We would accept a pull request that improves the documentation. In the meantime, this explanation I posted elsewhere should help at least a little. #1185 (comment) In short: To see the differences, try Again, we will accept a PR improving documentation because I agree that it should be improved. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have spent like an hour on a dummy project and still could not get an idea of
filesoptions.Form docs:
--files Load files, include and exclude from tsconfig.json on startup.Sorry for stupid question, but I haven't found a solid info on how
ts-nodeis working...Does
ts-nodedo in-memory compilation of TypeScript files? Or ists-nodeusing some "temp" folder innode_modules? Depending on the mechanism of howts-nodeis working the explanation above (Load files, include and exclude from tsconfig.json on startup) my have different meaning... "Load files..." load where? What is the real-world use case of this options?Also docs says that
TypeScript Node does not use files, include or exclude, by default..The
includeandexcludeare TypeScript options and it is pretty clear to me. But how are these options affection thefilesoptions?So by toggling
filesoptions I can "load" or "don't load" these files... But still I don't see any difference with this option on/off.Please help me to figure out the purpose of this option
All reactions