From 1f1fb7d79a3207d79b83ce78ca8b7d264cfccc96 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Sat, 5 Oct 2024 14:14:59 +0800 Subject: [PATCH] Laravel Vapor - Fix a problem with deployment --- webpack.mix.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webpack.mix.js b/webpack.mix.js index c8fa95d4..a66bc696 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -10,6 +10,12 @@ const mix = require('laravel-mix'); | file for the application as well as bundling up all the JS files. | */ + mix.webpackConfig({ + watchOptions: { + poll: true, + aggregateTimeout: 2000, + }, +}); mix.js('./resources/assets/vue/app.js', 'public/vue') .vue()