Anthony Fu

Results 1222 comments of Anthony Fu

Sounds solid. Do you mind sending a PR? Thanks!

Yeah, we only listen to `change` at this moment https://github.com/antfu/vite-plugin-restart/blob/d8d5b9de7f2197ca1d8604597e380bd207203437/src/index.ts#L100 PR welcome, thanks!

I don't know why nor how to fix it. I didn't change anything, but basically all my docs's Algolia is broken. 🤷‍♂️

Thanks! But later we might just migrate to VitePress's new theme

@Lee182 This is not how you use it, instead of ```ts const refBlocking = ref(state.settings.blocking) ``` You should do ```ts const refBlocking = toRef(state.settings, 'blocking') ``` See more on Vue...

Sure, it makes total sense to upgrade this package. If you want to help, maybe you can bump the deps and test them out in a PR. Thanks!

I think it's the authors' freedom to do about their README. But for this one, I'd wait for a couple of weeks to see if there are real demand from...

I think indeed the current behavior is a kinda flaw and the fix makes a lot of sense. As for the shipping, I think we could have the workaround (maybe...

I still hold my opinion on the perf loss on runtime without hoisting

I don't understand how you consider it "subjective". If this PR trade-off runtime performance for bundling size, then I wouldn't consider this to be a perf improvement. I believe it...