If we're going to use Launchy, let's use Dir.chdir
This commit is contained in:
parent
f7eacb7666
commit
0776078487
4
Rakefile
4
Rakefile
|
@ -130,7 +130,9 @@ namespace :site do
|
|||
|
||||
# Generate the site in server mode.
|
||||
puts "Running Jekyll..."
|
||||
sh "cd site && #{File.expand_path('bin/jekyll', File.dirname(__FILE__))} --server"
|
||||
Dir.chdir("site") do
|
||||
sh "#{File.expand_path('bin/jekyll', File.dirname(__FILE__))} --server"
|
||||
end
|
||||
end
|
||||
|
||||
desc "Commit the local site to the gh-pages branch and publish to GitHub Pages"
|
||||
|
|
Loading…
Reference in New Issue