Permalink
Browse files

devDependencies are back

  • Loading branch information...
1 parent 15a6db2 commit c88ac0ab62aec0ae9f89633ca54396ccbfa09ffa @jairajs89 committed Apr 5, 2013
Showing with 14 additions and 2 deletions.
  1. +4 −2 package.json
  2. +10 −0 run.js
View
@@ -3,7 +3,7 @@
"author" : "Jairaj Sethi <j@jairaj.org> (http://jairaj.org/)",
"name" : "zerver",
"description" : "client-integrated webapp server",
- "version" : "0.9.10",
+ "version" : "0.9.11",
"license" : "MIT" ,
"repository" : {
"type" : "git",
@@ -16,7 +16,9 @@
"mime" : "1.2.7" ,
"uglify-js" : "1.3.4" ,
"clean-css" : "1.0.0" ,
- "less" : "1.2.2" ,
+ "less" : "1.2.2"
+ },
+ "devDependencies" : {
"stalker" : "0.0.20" ,
"socket.io" : "0.6.18"
},
View
@@ -274,6 +274,16 @@ function main () {
return;
}
+ try {
+ require('socket.io');
+ require('stalker' );
+ }
+ catch (err) {
+ console.error('please install zerver dev dependencies to use debug mode');
+ console.error('command: npm install --dev zerver');
+ return;
+ }
+
if (LOGGING) {
cli = setupCLI(function (line) {
if (child) {

0 comments on commit c88ac0a

Please sign in to comment.