Deletion of .mdx
files under folders doesn't trigger webpack compilation
#36
Labels
bug
Something isn't working
To reproduce add some pages in the root
pages
folder and nest some pages under a folder. Deleting root pages results in Webpack recompilation and nav tree updated, but if you delete a page under folder there is no update.Seems like the fix is to add
addContextDependency
not only forpages
but every child directory within it as well (ideally using a glob likepages/**
).The text was updated successfully, but these errors were encountered: