[英]npm run watch stops working - Laravel with Vue.js
I am running a Laravel project with Vue.js frontend.我正在使用 Vue.js 前端运行 Laravel 项目。 Running
npm run watch
always worked for me and whenever I did changes, they directly appear.运行
npm run watch
总是对我有用,每当我进行更改时,它们都会直接出现。 Suddenly my changes are not showing anymore and I don't know what the problem is.突然我的变化不再显示,我不知道问题是什么。
I tried node_modules/.bin/webpack --watch --watch-poll --config=node_modules/laravel-mix/setup/webpack.config.js
and it didnt work either.我试过
node_modules/.bin/webpack --watch --watch-poll --config=node_modules/laravel-mix/setup/webpack.config.js
也没有用。
PS: im not getting errors PS:我没有收到错误
It worked by running npm run watch-poll
它通过运行
npm run watch-poll
来工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.