Skip to content

Commit a9791a5

Browse files
authored
Merge pull request academicpages#75 from Carreau/liveserve
implement liveserve
2 parents 9aec92b + 1d476d4 commit a9791a5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ group :jekyll_plugins do
2323
# gem "jekyll-archives"
2424
gem "jekyll-feed"
2525
gem 'jekyll-sitemap'
26+
gem 'hawkins'
2627
end

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ I think I've got things running smoothly and fixed some major bugs, but feel fre
1515
See more info at https://academicpages.github.io/
1616

1717
## To run locally (not on GitHub Pages, to serve on your own computer)
18+
1819
1. Clone the repository and made updates as detailed above
1920
1. Make sure you have ruby-dev, bundler, and nodejs installed: `sudo apt install ruby-dev ruby-bundler nodejs`
2021
1. Run `bundle clean` to clean up the directory (no need to run `--force`)
2122
1. Run `bundle install` to install ruby dependencies. If you get errors, delete Gemfile.lock and try again.
22-
1. Run `bundle exec jekyll serve` to generate the HTML and serve it from localhost:4000
23+
1. Run `bundle exec jekyll liveserve` to generate the HTML and serve it from `localhost:4000` the local server will automatically rebuild and refresh the pages on change.
2324

2425
# Changelog -- bugfixes and enhancements
2526

0 commit comments

Comments
 (0)