kiln / flourish-sdk

The SDK for developing Flourish templates
Other
81 stars 16 forks source link

High CPU usage while idle #10

Closed robinhouston closed 7 years ago

robinhouston commented 7 years ago

Profiling with the Chrome DevTools inspector (using node --inspect) shows that 100% of the time is spent in (program).

I think this may mean that whatever code is pegging the CPU is native code rather than JavaScript.

robinhouston commented 7 years ago

(The obvious suspect is the file watching, of course.)

robinhouston commented 7 years ago

Running npm rebuild in the SDK directory has made this problem disappear, presumably by rebuilding fsevents. Closing for now.