[英]Laravel vue js npm run watch works only one time
I'm developing laravel vue project.And i am using homestead for development. 我正在开发laravel vue项目。我正在使用宅基地进行开发。 when i run
当我跑步
npm run watch
it only executes once and not executing when i do changes on my code and refresh the browser. 它只执行一次,而当我对代码进行更改并刷新浏览器时不执行。
I tried --watch--poll
also. 我也尝试
--watch--poll
。 but works only once. 但只能使用一次。
Is there any commands that i can use to automatically compile the code each time when i make changes to the code or any solutions for this matter?
每当我更改代码或对此问题的任何解决方案时,是否可以使用任何命令来自动编译代码?
Found out the issue. 找出问题所在。 need to run it outside the homestead environment.
需要在宅基地环境之外运行它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.