What is the intended/best way to use pub serve.Does run as JavaScript from the editor use pub serve?I got the advice to use pub serve instead of pub build for active developmentbut 'run as JavaScript' is only available in the build directory so I have to use pub build first, don't I?
--
You received this message because you are subscribed to the Google Groups "Dart Web Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web+uns...@dartlang.org.
What is the intended/best way to use pub serve.
Does run as JavaScript from the editor use pub serve?
I got the advice to use pub serve instead of pub build for active development
but 'run as JavaScript' is only available in the build directory so I have to use pub build first, don't I?
+keertiOn Thu, Nov 21, 2013 at 1:08 AM, Günter Zöchbauer <gzo...@gmail.com> wrote:
What is the intended/best way to use pub serve.From the command line:$ pub serveDoes run as JavaScript from the editor use pub serve?Not yet. You can get to it from the Editor, but it's hidden behind an experimental setting, I think. Keerti knows more about this.Pub serve is quite new and we didn't want users at 1.0 to all beat on it and run into issues. As it gets more stable, we'll be making it more prominent in the Editor.
I got the advice to use pub serve instead of pub build for active development
but 'run as JavaScript' is only available in the build directory so I have to use pub build first, don't I?
Nope. Pub serve will compile to JS on the fly every time you change your Dart code.Let me know if you run into any problems. :)Cheers!- bob
--