From 608181ce6ac7dbffceb3b8e18c47af1816c52e4b Mon Sep 17 00:00:00 2001 From: sapphi-red Date: Mon, 11 Jul 2022 01:41:58 +0900 Subject: [PATCH] chore: tweak warning message Co-authored-by: Bjorn Lu --- packages/vite/src/node/watch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite/src/node/watch.ts b/packages/vite/src/node/watch.ts index e33070dac1212e..1d0bcf762772ef 100644 --- a/packages/vite/src/node/watch.ts +++ b/packages/vite/src/node/watch.ts @@ -26,7 +26,7 @@ export function resolveChokidarOptions( logger.warn( colors.yellow( colors.bold(`(!) `) + - 'Default file system watching might not work with your setup due to the limitation of WSL2. ' + + 'Default file system watching might not work with your setup due to a limitation of WSL2. ' + 'HMR and other features will not work when file system watching is not working. ' + `To suppress this warning, set true or false to "${optionName}.usePolling". ` + 'More information: https://vitejs.dev/config/server-options.html#server-watch'