Browse Source

Add --debug to hexo server. Update example npm script.

Harry Hedger 9 years ago
parent
commit
edbbfd9ef8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Makefile
  2. 1 1
      package.json

+ 1 - 1
Makefile

@@ -17,7 +17,7 @@ website-build: website-install
 .PHONY: website-preview
 website-preview: website-build
 	@echo "--> Running preview.."
-	@cd website && ./node_modules/.bin/hexo server
+	@cd website && ./node_modules/.bin/hexo server --debug
 
 .PHONY: website-deploy
 website-deploy: website-build

+ 1 - 1
package.json

@@ -18,7 +18,7 @@
     "test:phantom": "zuul test/spec/upload.js --phantom",
     "watch": "npm run watch:css & npm run watch:js",
     "watch:css": "nodemon -e src/scss -x \"npm run build:css\"",
-    "watch:examples": "node website/watch.js",
+    "watch:examples": "cd website && node watch.js",
     "watch:js": "nodemon --watch src -e js --ignore src/scss -x \"npm run build:lib\""
   },
   "repository": {