k_builder-watch 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/k_builder/watch/version.rb +1 -1
- data/lib/k_builder/watch/watcher.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e76a86d8343b281e5666d924e104ee5a0bf4e15014fb75aad48d84a9e355ef9
|
4
|
+
data.tar.gz: b0b4b03e513eea00ef9c7754f3b2506ebd287daa54a41760ca1a4e799b3ca0dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: defff1f756e63a15bf45702614008ea0212ce1e2d9043ea3126942c0f424f70c4d018d204b7e96942b0cab7cf3677dadd64b2866417ceeec6797abd57b5189c2
|
7
|
+
data.tar.gz: 0a1a251d0bc95a44482491e830db8b58a172b303d7c67af3d54661fcf382f3bae48ee974d15229baa2fcad4f925591bc7cb07526818a7292c88da250d7fc9fce
|
@@ -23,7 +23,7 @@ module KBuilder
|
|
23
23
|
|
24
24
|
def start
|
25
25
|
clear_screen
|
26
|
-
puts
|
26
|
+
puts "KBuilder-Watch: v#{KBuilder::Watch::VERSION} is watching for file changes"
|
27
27
|
puts "Directory: #{directory}"
|
28
28
|
# puts "Watch File: #{watch_file}"
|
29
29
|
|
@@ -50,11 +50,11 @@ module KBuilder
|
|
50
50
|
puts e.backtrace.select { |ex| ex.start_with?(filename) }.join("\n")
|
51
51
|
end
|
52
52
|
# rubocop:enable Lint/RescueException
|
53
|
-
end
|
54
53
|
|
55
|
-
|
56
|
-
|
57
|
-
|
54
|
+
def clear_screen
|
55
|
+
puts "\n" * 70
|
56
|
+
$stdout.clear_screen
|
57
|
+
end
|
58
58
|
end
|
59
59
|
end
|
60
60
|
end
|