Git Product home page Git Product logo

Comments (7)

its-dlh avatar its-dlh commented on July 18, 2024

Any ideas on this? It's very annoying.

from file-watcher.

its-dlh avatar its-dlh commented on July 18, 2024

I've fixed the issue locally by changing line 128 of file-watcher.coffee to

(fs.unwatchFile @currPath) if @useFsWatchFile

from file-watcher.

lwblackledge avatar lwblackledge commented on July 18, 2024

Sorry about the delay on this. Yeah I am probably not removing that new watch, and it looks like you found that issue. My bad.
I'll make this fix as soon as possible.

from file-watcher.

lwblackledge avatar lwblackledge commented on July 18, 2024

Thanks, I added that check to the destroy. Please let me know if it does not solve the problem.

from file-watcher.

its-dlh avatar its-dlh commented on July 18, 2024

Thanks, although my solution was off, because it was throwing errors if I closed a tab where there wasn't an underlying file. I don't really know Coffeescript, but I think the real issue was that hasUnderlyingFile was locally scoped instead of being a property of the object, so I undid my earlier "fix" and just changed every instance of hasUnderlyingFile to @hasUnderlyingFile.

from file-watcher.

lwblackledge avatar lwblackledge commented on July 18, 2024

Thanks. It did cause #21. And again, I'll use your fix for the next release.

from file-watcher.

lwblackledge avatar lwblackledge commented on July 18, 2024

Fixed in b072936

from file-watcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.