Skip to content

Commit

Permalink
Finish LiveReload
Browse files Browse the repository at this point in the history
  • Loading branch information
Wferr committed Nov 19, 2015
1 parent 35083bf commit 3ec39f3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Guardfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
guard 'livereload' do
guard 'livereload', port: '8081' do
watch(/^_site/)
end
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ Viewable [Here!](http://sdarobotics.org)

More info soon

https://paradox-dev-wferr.c9.io/
#To Preview it within Cloud9
jekyll serve --host $IP --port $PORT --baseurl ''
---

##Todo List
Expand Down
16 changes: 16 additions & 0 deletions TUTORIAL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
##Live Preview Of Paradox Site
---

###Install

- bundle install

###Running

- Two terminal tabs
- "guard" in one of them
- "jekyll serve --host $IP --port $PORT --baseurl ''" In the other
- Site Will Have error for insecure content, ignore error.
- https://paradox-dev-wferr.c9.io
- Enjoy Live Reload

2 changes: 1 addition & 1 deletion _includes/development.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<!-- Production Site -->
{% else %}
<!-- Developemt Site -->
<script src="//localhost:35729/livereload.js"></script>
<script src="//paradox-dev-wferr.c9.io:8081/livereload.js"></script>
{% endif %}

0 comments on commit 3ec39f3

Please sign in to comment.