Skip to content

Commit

Permalink
use new syntax for live reload
Browse files Browse the repository at this point in the history
  • Loading branch information
jfredrickson committed Feb 27, 2024
1 parent 4a34829 commit 71e13b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ require "rake/testtask"

desc "Serve the site with live reload for development"
task :serve do
sh "bundle exec jekyll liveserve", verbose: false
sh "bundle exec jekyll serve --livereload", verbose: false
end

# This option may cause pages to not be rebuilt when an underlying data file
# (e.g., _data/*.yml) changes. In most cases it's OK, but you may need to use
# the 'serve' task instead if changing data files.
desc "Serve the site with live reload for development (incremental builds)"
task :incrementalserve do
sh "bundle exec jekyll liveserve --incremental", verbose: false
sh "bundle exec jekyll serve --livereload --incremental", verbose: false
end

desc "Build the site to the default Jekyll output directory"
Expand Down

0 comments on commit 71e13b2

Please sign in to comment.