Skip to content

Commit 7373b70

Browse files
committed
Removed unused monitoring behavior from Rakefile
1 parent ed6487a commit 7373b70

File tree

3 files changed

+1
-43
lines changed

3 files changed

+1
-43
lines changed

Gemfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

Gemfile.lock

Lines changed: 0 additions & 10 deletions
This file was deleted.

Rakefile

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require "bundler/setup"
22

3-
task :default => :watch
3+
task :default => :test
44

55
desc "Publish \"marketing\" docs"
66
task :publish do
@@ -11,36 +11,7 @@ task :publish do
1111
sh("git push --tags")
1212
end
1313

14-
desc "Build everything"
15-
task :build do
16-
rebuild_coffee
17-
end
18-
19-
desc "Watch for changes and test the site"
20-
task :watch => :build do
21-
sh("open test/index.html")
22-
monitor
23-
end
24-
2514
desc "Open your default browser with the test page"
2615
task :test do
2716
sh("open test/index.html")
2817
end
29-
30-
def rebuild_coffee(base = nil, relative = "**/*.coffee")
31-
sh("coffee -c #{relative}")
32-
end
33-
34-
def monitor
35-
require "fssm"
36-
puts ">>> Monitoring for changes. Press Ctrl-C to Stop."
37-
FSSM.monitor do
38-
path "." do
39-
glob "**/*.coffee"
40-
update &method(:rebuild_coffee)
41-
delete &method(:rebuild_coffee)
42-
create &method(:rebuild_coffee)
43-
end
44-
end
45-
end
46-

0 commit comments

Comments
 (0)