dart-atom / dart

A Dart plugin for Atom.
http://dart-atom.github.io/dart/
BSD 3-Clause "New" or "Revised" License
154 stars 44 forks source link

Won't stop running when no Dart files are being worked on #1123

Open grantnelson-wf opened 7 years ago

grantnelson-wf commented 7 years ago

What I was doing...

  1. I opened up a project which has Dart code in it
  2. Closed the files and removed the project folder
  3. Opened up a project which has Go code in it
  4. Was reading through code, not even changing and saving files
  5. The Dart Analysis server were popup in the tool bar for a half second every two or so seconds and my machine started running hot (kicking on all it's fans, when normally it doesn't)
  6. As soon as I Shutdown the Analysis server everything calmed down

It seems like the Dart plugin needs to watch for file changes or put a sleep into some loop to give it some more breathing room and not take as much CPU when it isn't needed. Atom 1.15.0, dartlang 0.6.46, SDK 1.22.1 running on macos.