Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

add a --watch mode? #16

Closed
devoncarew opened this issue Dec 25, 2014 · 3 comments
Closed

add a --watch mode? #16

devoncarew opened this issue Dec 25, 2014 · 3 comments
Milestone

Comments

@devoncarew
Copy link
Contributor

Add a --watch mode to tuneup? This would:

  • be a long lived process
  • print out all errors on startup
  • watch for file system changes
  • print out the diff of errors as files change. So, error 'foo' fixed, error 'bar' added

This would be a useful mode for people that didn't have analysis integration into their IDE.

@seaneagan
Copy link

Could this possibly be a feature of the analysis server:

https://pub.dartlang.org/packages/analysis_server

(once it's published)

@devoncarew
Copy link
Contributor Author

I think technically it could, but I'm not sure that it's likely too. Currently they use stdio for the traffic between the host IDE and the analysis server.

My idea with this was to support clients that didn't have any real dart integration, analysis server or otherwise. Specifically, I was experimenting with using cloud 9 to develop Dart apps. It's pretty capable from a git / CLI / code editing perspective, but doesn't have any dart analysis smarts. My idea was to run tuneup --watch from a console tab, and then it would print out to stdout when you introduced a new error, or fixed an existing one. Sort of a poor man's problems view.

@devoncarew devoncarew modified the milestone: M1 Feb 10, 2015
@devoncarew
Copy link
Contributor Author

not planned :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants