Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dart2js --watch #6478

Closed
stevemessick opened this issue Nov 2, 2012 · 18 comments
Closed

dart2js --watch #6478

stevemessick opened this issue Nov 2, 2012 · 18 comments
Labels
P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug web-dart2js

Comments

@stevemessick
Copy link
Contributor

Would be great to have a --watch option for dart2js command-line tool. I don't want to run it manually all the time.
////////////////////////////////////////////////////////////////////////////////////
Editor: 13679 (2012-10-16)
OS: Mac OS X - x86_64 (10.8.2)
JVM: 1.6.0_35

SDK installed: true
Dartium installed: true

@devoncarew
Copy link
Member

Bumping this over to the dart2js team; this is from our user feedback mechanism.


Removed the owner.
Removed this from the M3 milestone.
Removed Area-Editor label.
Added Area-Dart2JS label.

@kasperl
Copy link

kasperl commented Nov 2, 2012

I don't know what this means. Any insights? Sounds like something we're not going to do.


cc @peter-ahe-google.
Added NeedsInfo label.

@DartBot
Copy link

DartBot commented Nov 4, 2012

This comment was originally written by olalind...@gmail.com


I think he means automatic recompilation when file changes are detected in the project, like CoffeeScript does: http://coffeescript.org/#usage (see --watch).

So you can run something like "dart2js --watch *.dart -o myapp.js" and have it automatically built.

@peter-ahe-google
Copy link
Contributor

This is probably something we should do eventually. Being able to keep the compiler running should reduce compile-times.


Added Triaged label.

@DartBot
Copy link

DartBot commented Nov 4, 2012

This comment was originally written by da...@grove.cx


Seems highly related to build.dart in the editor. This is probably a new tool that sits above dart2js.

@peter-ahe-google
Copy link
Contributor

The compiler should offer API that allows you to build such a tool. Some of the API is already in place, but more is needed.

@peter-ahe-google
Copy link
Contributor

Added this to the Later milestone.

@kasperl
Copy link

kasperl commented May 23, 2013

Added TriageForM5 label.

@kasperl
Copy link

kasperl commented May 28, 2013

Removed TriageForM5 label.

@DartBot
Copy link

DartBot commented Mar 4, 2014

This comment was originally written by aldo.roman.n...@gmail.com


any news on this issue?

I think this is important to integrate Dart with third party web frameworks (Play, Symfony, etc), as much as Sass/Compass does.

It would be very easy to edit and compile *.dart files into a myapp.js. As this is framework-independent, this helps me to use Dart anywhere, not only in Dart Editor.

@dgrove
Copy link
Contributor

dgrove commented Mar 4, 2014

pub serve does this now, so you should be all set.


cc @munificent.

@DartBot
Copy link

DartBot commented Apr 14, 2014

This comment was originally written by Adrian3D...@gmail.com


I stopped to use dart for this reason. It's very annoying run dart2js all the time. A solution like #­3 would be perfect.

@munificent
Copy link
Member

Yes, pub serve covers this use case.

See the docs for more: https://www.dartlang.org/tools/pub/cmd/pub-serve.html


Added NotPlanned label.

@munificent
Copy link
Member

Unclosing this since it's not in my area, so not my call. :)


Added Triaged label.

@floitschG
Copy link
Contributor

Given that pub already does this with pub serve I'm downgrading the priority.

We have related TODOs, and eventually this issue might be easy to fix. Until then we will not actively work on fixing this issue.


Removed Priority-Medium label.
Added Priority-Low label.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@stevemessick stevemessick added Type-Enhancement P3 A lower priority bug or feature request web-dart2js labels Aug 4, 2014
@dgrove
Copy link
Contributor

dgrove commented Aug 18, 2015

If we did this, it wouldn't be part of dart2js.

@dgrove dgrove closed this as completed Aug 18, 2015
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed triaged labels Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug web-dart2js
Projects
None yet
Development

No branches or pull requests

9 participants