DanielXMoore / Civet

A TypeScript superset that favors more types and less typing
https://civet.dev
MIT License
1.55k stars 33 forks source link

`civet *.civet` file execution bug when reading config from any file #1303

Closed danielbayley closed 4 months ago

danielbayley commented 4 months ago

There seems to be a bug where running a civet *.civet file directly does not execute anything if reading config from any file.

Meanwhile, node --import @danielx/civet/register *.civet does work on the same file (relinquishing the ability to read config from a file), if that helps narrow it down?

I initially thought it might have something to do with my changes in #1300, but rolled back several versions, and ran into the same behaviour…