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
Comments
Bumping this over to the dart2js team; this is from our user feedback mechanism. Removed the owner. |
I don't know what this means. Any insights? Sounds like something we're not going to do. cc @peter-ahe-google. |
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. |
This is probably something we should do eventually. Being able to keep the compiler running should reduce compile-times. Added Triaged label. |
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. |
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. |
Added this to the Later milestone. |
Added TriageForM5 label. |
Removed TriageForM5 label. |
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. |
pub serve does this now, so you should be all set. cc @munificent. |
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. |
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. |
Unclosing this since it's not in my area, so not my call. :) Added Triaged label. |
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. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
If we did this, it wouldn't be part of dart2js. |
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
The text was updated successfully, but these errors were encountered: