aboutsummaryrefslogtreecommitdiffstats
path: root/bin/make_css_watch
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-11-16 11:15:10 +0100
committerMarius Halden <marius.h@lden.org>2015-11-16 11:15:10 +0100
commit1339a64632c441e4d7858bd5946738c9840c624d (patch)
tree0b1393ca9af05d1af690fbf6c569c195f4136e4c /bin/make_css_watch
parent17cc40a8a2387669984ae4a36bb0d30d889d1a07 (diff)
parent4fb5331abd2fa4c89ebeb89bc92a245fadd0aa19 (diff)
Merge branch 'fiksgatami-dev' into fiksgatami-prod
Oppgrader prod til 1.7
Diffstat (limited to 'bin/make_css_watch')
-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';
}