diff --git a/jweb/jweb b/jweb/jweb index 74ff349..525ac64 100755 --- a/jweb/jweb +++ b/jweb/jweb @@ -1,2 +1,3 @@ #!/bin/sh +export JEKYLL_ENV=production bundle exec jekyll server -w diff --git a/jweb/njweb b/jweb/njweb new file mode 100755 index 0000000..7986abe --- /dev/null +++ b/jweb/njweb @@ -0,0 +1,7 @@ +#!/bin/bash + +JEKYLL_DIR="$HOME/Documents/jekyll-project" + +tmux new -ds jweb +tmux send-keys -t jweb "cd $JEKYLL_DIR" Enter +tmux send-keys -t jweb "jweb" Enter