Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dev dependencies

  • Loading branch information...
commit dc610bb91de4b500549db6d6c973a6195121c35a 1 parent a14a9bc
@jairajs89 authored
Showing with 15 additions and 2 deletions.
  1. +4 −2 package.json
  2. +11 −0 run.js
View
6 package.json
@@ -2,7 +2,7 @@
"author": "Jairaj Sethi <j@jairaj.org> (http://jairaj.org/)",
"name": "zerver",
"description": "client-integrated webapp server",
- "version": "0.9.3",
+ "version": "0.9.4",
"repository": {
"type": "git",
"url": "git://github.com/jairajs89/zerver.git"
@@ -14,7 +14,9 @@
"dependencies": {
"mime" : "1.2.7" ,
"uglify-js" : "1.3.4" ,
- "less" : "1.3.3" ,
+ "less" : "1.3.3"
+ },
+ "devDependencies": {
"stalker" : "0.0.20" ,
"findit" : "0.1.2" ,
"socket.io" : "0.9.11"
View
11 run.js
@@ -274,6 +274,17 @@ function main () {
return;
}
+ try {
+ require('socket.io');
+ require('findit' );
+ require('stalker' );
+ }
+ catch (err) {
+ console.error('zerver debug mode requires dev dependencies');
+ console.error('run this command: npm install --dev zerver');
+ return;
+ }
+
if (LOGGING) {
cli = setupCLI(function (line) {
if (child) {

0 comments on commit dc610bb

Please sign in to comment.
Something went wrong with that request. Please try again.