简体   繁体   中英

How can I run an independent dart file in Visual Studio Code when my app is already running?

I have an already running Flutter project in Visual Studio Code, but I want to run a separate Dart file in the same project without terminate my running project.

When i tried to run this file, the running project stops.

You can open your terminal and execute your dart file like

$ dart./file.dart

To open the terminal, use any of this options:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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