From 015a0b918916a7c225dd0115ac92d0b4f7da48ee Mon Sep 17 00:00:00 2001 From: Pasha Frolov Date: Tue, 12 Jul 2022 12:26:02 +0300 Subject: [PATCH] fix: vite livereload path --- vite.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.js b/vite.config.js index 3882364..30e1e9a 100644 --- a/vite.config.js +++ b/vite.config.js @@ -31,8 +31,8 @@ export default ({ mode }) => ({ }, plugins: [ liveReload([ - resolve(cwd, '/app/(templates|snippets|controllers|models)/**/*.php'), - resolve(cwd, '/storage/content/**/*'), + resolve(cwd, 'app/(templates|snippets|controllers|models)/**/*.php'), + resolve(cwd, 'storage/content/**/*'), ]), ], })