Coder Social home page Coder Social logo

Comments (7)

stefanpenner avatar stefanpenner commented on July 17, 2024

This sounds mega painful. TBH I have totally disabled spotlight, so maybe there is a glaring issue I just have not noticed.

That being said, AFAIK we only lock a single file.

This seems like it needs some more investigation, are there any other details you can provide? Maybe an example project that demonstrates this issue?

Are these files also being observed by something else, like dropbox?

from ember-app-kit.

rwjblue avatar rwjblue commented on July 17, 2024

We are only locking one file, but if you are running grunt test:server or grunt server it takes a bit of CPU (2.5% on my retina macbook pro). I believe the reason for this is the watch task is polling the disk for changes (this is dependent on the platform you are running on of course).

This may be related (or not): gruntjs/grunt-contrib-watch#35

from ember-app-kit.

stefanpenner avatar stefanpenner commented on July 17, 2024

seems crazy that it would be polling on OSX.

Also is this by any chance also observing some temp directories, something like .sass-cache or something, as that might also explain it.

from ember-app-kit.

rwjblue avatar rwjblue commented on July 17, 2024

seems crazy that it would be polling on OSX

Agreed. More likely it's tangentially related (some other process Dropbox, backup, etc) and this compounds the issue.

@jayphelps - SSD?

from ember-app-kit.

jayphelps avatar jayphelps commented on July 17, 2024

@stefanpenner @rjackson Looking into this more tonight.

SSD: yes.

fs.watchFile uses kqueue BSD system call for updates (last time I checked), no polling. (assuming EAK uses watchFile)

from ember-app-kit.

jayphelps avatar jayphelps commented on July 17, 2024

This was originally happening with the example app. Tried things again and of course...issue is gone. As suggested, most likely related to some other service trying to battle it out. Also--I'm using Total Finder which uses mach_star to inject code into the Finder process. Don't want to jump the gun with circumstantial evidence but it's something to consider.

Feel free to close, unless someone else can reproduce. I've added more information about my system to the top, for future reference in case others have issues and seek correlation. No troubles at all on my iMac either.

from ember-app-kit.

stefanpenner avatar stefanpenner commented on July 17, 2024

@jayphelps thanks for the follow up. As suggested I'll close for now, but I will keep an eye on it.

from ember-app-kit.

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.