fastify / fastify-bankai

Bankai assets compiler for Fastify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unusable in tests

mcollina opened this issue · comments

watch mode is always enabled, but this will cause the process to hang during tests and wait.
Passing watch: false  as an options solves it.

Maybe we should have that set as a default, and accept watch: true. This would be the reverse to what bankai does.

Nice catch, now I understood why I had to put this at the end of the test.
I agree with you that watch by default must be false for a better usability in our context.

@yoshuawuyts just out of curiosity, why in bankai watch is true by default?

commented

@yoshuawuyts what would be the dev workflow with bankai, related to moving the generated stuff to prod?

commented