简体   繁体   中英

Laravel vue js npm run watch works only one time

I'm developing laravel vue project.And i am using homestead for development. 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. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM