hiwljun
V2EX  ›  Vagrant

Vagrant 的共享文件不同步问题

  •  
  •   hiwljun · Jun 7, 2014 · 8626 views
    This topic created in 4383 days ago, the information mentioned may be changed or developed.
    使用Vagrant共享文件的时候,如果本地添加了文件,Vagrant里会变成
    ?????????? ? ? ? ? ? __init__.py
    类似这样,必须reload vagrant 后才可以正常显示,还有其它刷新文件内容的方法吗?
    1 replies    2014-06-08 10:00:47 +08:00
    undeflife
        1
    undeflife  
       Jun 8, 2014   ❤️ 1
    没有额外配置的情况下vagrant使用的是虚拟机自己的shared folder 如果你对这个不满可以改用nfs或者rsync
    http://docs.vagrantup.com/v2/synced-folders/rsync.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   848 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:48 · PVG 05:48 · LAX 14:48 · JFK 17:48
    ♥ Do have faith in what you're doing.