lansquenet
V2EX  ›  Node.js

请教: WSL 下文件 watch 问题

  •  
  •   lansquenet · Sep 3, 2019 · 5415 views
    This topic created in 2469 days ago, the information mentioned may be changed or developed.

    之前在 windows 环境下使用 nodemon 或者 supervisor 这类程序来监控文件都是 ctrl+s 保存后才触发 nodejs 自动重启,现在在 WSL 环境下,每写一个字符都会触发自动重启。貌似因为子系统文件同步问题导致,不知道有没有靓仔遇到过这个问题,我现在想要的效果是自己手动保存后才重启。

    4 replies    2019-09-03 23:00:34 +08:00
    lansquenet
        1
    lansquenet  
    OP
       Sep 3, 2019
    额~~~这个问题已经解决了,我自己的问题,自闭中...打扰了!
    pengwen
        2
    pengwen  
       Sep 3, 2019 via Android   ❤️ 1
    怎么解决的?
    shintendo
        3
    shintendo  
       Sep 3, 2019   ❤️ 2
    @pengwen 估计是用了自动保存的编辑器
    lansquenet
        4
    lansquenet  
    OP
       Sep 3, 2019
    @pengwen 不知道什么时候点了自动保存。哈哈。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3002 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 14:30 · PVG 22:30 · LAX 07:30 · JFK 10:30
    ♥ Do have faith in what you're doing.