aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/make_css_watch4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/make_css_watch b/bin/make_css_watch
index 2ae287429..d15fa3a81 100755
--- a/bin/make_css_watch
+++ b/bin/make_css_watch
@@ -45,8 +45,7 @@ if (-f "$gem_bin/compass") {
sub title {
my $what = shift;
- # TODO, check if xtitle is installed and if so, run following command:
- # system 'xtitle', $what;
+ print "\033]2;$what\007\n";
}
say sprintf "Watching [%s] for %s", (join ',' => @dirs), $filter;
@@ -92,6 +91,7 @@ while ( my @events = $watcher->wait_for_events() ) {
'--style' => 'compressed',
$dir;
}
+ title "$dir updated";
}
title 'watching';
}