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.