event-catalog / eventcatalog

An open source documentation tool to bring discoverability to your event-driven architectures
https://eventcatalog.dev
MIT License
1.58k stars 132 forks source link

Infinite build loop when building without running dev first #532

Closed Laupetin closed 1 week ago

Laupetin commented 1 week ago

When trying to build EventCatalog using npm run build without running npm run dev first seems to result in an infinite loop trying to call the build script again.

image

This can be replicated by deleting the .eventcatalog-core folder which is gitignored by default.

It can be solved by first running npm run dev, aborting and afterwards running npm run build.

For development on my local machine this isn't quite a big issue. It just makes building EventCatalog with our CI a bit difficult.

boyney123 commented 1 week ago

Thanks! Will take a look