unplugin-vue-components icon indicating copy to clipboard operation
unplugin-vue-components copied to clipboard

watcher path should be normalized on windows

Open trailskr opened this issue 4 years ago • 1 comments

https://github.com/antfu/unplugin-vue-components/blob/242341870d1f602d460947ef63248647dbc3323f/src/core/context.ts#L77 https://github.com/antfu/unplugin-vue-components/blob/242341870d1f602d460947ef63248647dbc3323f/src/core/context.ts#L84

On windows watcher path has '\' separator and not match already defined paths. That leads naming conflicts warnings

trailskr avatar Oct 11 '21 14:10 trailskr

PR welcome. Thanks.

antfu avatar Oct 11 '21 14:10 antfu