Windows has no direct way to kill a process based on port. Uses netstats and loops through the results to find the correct process to kill. Also modify Process.run for the server to runInShell if on Windows. Style nits.
tools
Tools for building Flutter applications.
Installing
To install, run:
pub global activate sky_tools
or, depend on this package in your pubspec:
dev_dependencies:
sky_tools: any
Running sky_tools
Run sky_tools (or pub global run sky_tools) to see a list of available
commands:
initto create a new project
Then, run a sky_tools command:
sky_tools init --out my_sky_project
Running sky_tools:sky_server
To serve the current directory using sky_server:
pub run sky_tools:sky_server [-v] PORT
Running sky_tools:build_sky_apk
usage: pub run sky_tools:build_sky_apk <options>
-h, --help
--android-sdk
--skyx
Filing Issues
Please file reports on the GitHub Issue Tracker.