Doesnt wait for completion?
mikecann opened this issue · comments
It doesnt seem to wait for completion, is this intended?
Hi @mikecann,
Can you elaborate a bit more on what you're experiencing? The more info the better.
Thanks
Hi,
When I run barrelsby -d src -c ../build-tools/src/barrelsby.json
given the following config:
{
"exclude": ["\\.test\\.", "\\.stories\\.", "\/test\/", "\/declarations\/", "__"],
"delete": true
}
It starts and exits almost immediatey but doesnt update the barrel until after exit.
See the video:
Pu3hDEeYmt.mp4
On other projects it has been much more pronounced.
Its almost as if some async child process thing isnt being awaited when the parent exits. I havent looked at the source so dont know if it is implemented like this or not.
Are you sure that's not the windows filesystem or windows explorer taking a few miliseconds to refresh?
Possibly from the above but im sure I have seen it take much longer, but ill close until I have definitive proof