Open zackgomez opened 5 months ago
I can fix this locally by preresolving both of the variables
I can put up a PR if you would prefer
@zackgomez I am experiencing the same.
Is there any other fix other than modifying this package in node_modules ?
The correct solution would be to produce a corrected module by either updating this repo or forking and creating a new repo and package.
You could also "vendorize" the source tree with the fix. All of these solutions are much more annoying and less valuable than this repository being updated. It seems unmaintained or very sparsely maintained at best
The plugin consistently crashes for me on windows when I modify a watched file. I believe this is due to some path regularization.
My config
Error in verbose mode (with an additional console.log added my me showing the undefined preserved dir structure
Specifically looking at the log I added
preservedDirStructure: undefined, globbedFromPath: assets\card_images\ArtArcher.jpg, startFragment: ./assets/card_images, sourcePath: C:\Users\Zack\Programming\mythos\assets\card_images\ArtArcher.jpg
preservedDirStructure is undefined because the
globbedFromPath
=assets\card_images\ArtArcher.jpg
is missing the prepended./
and uses windows\
instead of my configs/
.