简体   繁体   English

Dart编辑器启动配置

[英]Dart editor launch configuration

I am a bit confused about the launch is supposed to work. 我对启动应该工作感到有些困惑。 In my project I have a build.dart and a html file. 在我的项目中,我有一个build.dart和一个html文件。

What I am doing now is run the build.dart and then run the html. 我现在正在执行的是运行build.dart,然后运行html。

Building the dart and then refresh the browser window works also. 构建飞镖,然后刷新浏览器窗口也可以。

But I see no option to run the build.dart and then automatic refresh dartium? 但是我看不到运行build.dart然后自动刷新dartium的选项吗?

My favorite method is to click on the index.html in the out directory and hit Command-r (or whatever is equivalent on your OS) to run it. 我最喜欢的方法是单击out目录中的index.html,然后按Command-r(或操作系统上的等效命令)运行它。 This will run build.dart as well as open Dartium. 这将运行build.dart以及打开Dartium。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM