Monday, 3 April 2017

The QoS of the thread that builds my Node.js app is too high

I have Nodeman setup to watch for file changes and build my express.js site. The problem is that my machine freezes up for a second when the app builds using gulp. For example, when I hit cmd+tab the application selector just repeatedly scrolls through my application list even after I let go. It seems to me that the build process is running on the main thread and interfering with macOS's UI. I don't see this when building apps using Xcode. Is there some terminal command option perhaps that I can use when using gulp that makes it run on a lower QoS thread/queue?



via Steve Moser

No comments:

Post a Comment