diff options
author | B Mathis <brandon@imathis.com> | 2010-07-26 10:55:53 -0500 |
---|---|---|
committer | B Mathis <brandon@imathis.com> | 2010-07-26 10:55:53 -0500 |
commit | 76b8b8ca450dc09c86d0ad958f7397c3b1bdc36f (patch) | |
tree | 1c017153e507802955569cc88fc985baea3f1c5e /Rakefile | |
parent | 5951848f724ae5a64d917dced57c328013dc2939 (diff) | |
download | my_new_personal_website-76b8b8ca450dc09c86d0ad958f7397c3b1bdc36f.tar.xz my_new_personal_website-76b8b8ca450dc09c86d0ad958f7397c3b1bdc36f.zip |
fixed rake preview and updated sass to sass3 syntax
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -43,7 +43,7 @@ end desc "generate website in output directory" task :generate => [:generate_site, :generate_style] do - puts ">>> Site Generating Complete! <<<\n\n" + puts ">>> Site Generating Complete! <<<\n\n>>> Refresh your browser <<<" end # usage rake post[my-new-post] or rake post['my new post'] or rake post (defaults to "new-post") @@ -166,6 +166,7 @@ task :start_serve => :stop_serve do cd "#{site}" do print "Starting serve..." ok_failed system("serve #{port} > /dev/null 2>&1 &") + system "open http://localhost:#{port}" end end @@ -181,8 +182,7 @@ task :stop_serve do end desc "preview the site in a web browser" -multitask :preview => [:start_serve] do - system "open http://localhost:#{port}" +multitask :preview => [:generate, :start_serve, :watch] do end |