diff --git a/Procfile b/Procfile index d7d36ad..d27462a 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: port=$PORT npm start +web: npm run bundle && port=$PORT npm start diff --git a/package.json b/package.json index fec2c2b..125e44a 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "vinyl-source-stream": "^1.1.0" }, "scripts": { - "start": "npm run bundle && node index.js", + "start": "node index.js", "dev": "npm run bundle && gulp start", "bundle": "gulp bundle", "test": "npm run bundle && gulp test", diff --git a/readme.md b/readme.md index 0f866e9..2549e37 100644 --- a/readme.md +++ b/readme.md @@ -18,6 +18,7 @@ Simple encrypted web chat. Powered by [socket.io](http://socket.io) and the [web npm test # Start a local instance of darkwire + npm run bundle npm start # Changing ports, default is 3000