Vue, installed on Homestead cannot be updated immediately after modification. Need to rerun npm run dev

installing Homestead, on MAC can access the project created by vue-cli in the virtual machine, but after the code is modified on the real machine, it cannot be updated in real time. You need to enter the virtual machine and rerun npm run dev to update.

if modified in the virtual machine, it can be updated directly.

is there any way to solve this problem?


the principle of dev hot update is that changes to the file can be detected. I don't know how you modify the file. It may be that the file system of Homestead cannot detect that you have modified the file

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32ddf-2be65.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32ddf-2be65.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?