darttrack

Creator: coderz1093

Last updated:

0 purchases

darttrack Image
darttrack Images

Languages

Categories

Add to Cart

Description:

darttrack

DartTrack #
Application to watch files changes and restart dart script.

Installation #
With dart pub #
You can use it like a global application
dart pub global activate darttrack
# or
flutter pub global activate darttrack
copied to clipboard
From source #
Also you can compile application from source
# Clone sources
git clone https://github.com/paveltretyakovru/darttrack.git
cd darttrack

# Compile it to executable file
dart compile exe bin/darttrack.dart -o build/darttrack

# Moving exe file to bin (you can move it to any PATH bin folder)
# /usr/bin/ - work example, but need sudo access to move
sudo mv build/darttrack /usr/bin/
copied to clipboard
Usage #
Run dart script and restart it (yourscript.dart) when folder (lib) changed #
Usage variants of the case:
darttrack ./lib ./bin/yourscript.dart
copied to clipboard
darttrack --watch ./lib ./bin/yourscript.dart
copied to clipboard
darttrack --watch ./lib --script ./bin/yourscript.dart
copied to clipboard
darttrack ./lib --script ./bin/yourscript.dart
copied to clipboard
Run custom command and restart it (echo test) when folder (lib) changed #
Usage variants of the case:
darttrack ./lib --exec "dart test"
copied to clipboard
darttrack --watch ./lib --exec "dart test"
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.