Skip to content

Commit 9ef09e9

Browse files
committed
Merge branch 'release/0.2.1'
2 parents 5a273ef + 0af496a commit 9ef09e9

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

lib/middleware/backend.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ exports = module.exports = function backend() {
2222
return option;
2323
});
2424

25+
proxy.on("proxyError", function (err, req, res) {
26+
console.error(err);
27+
});
28+
2529
function copy(source) {
2630
var target;
2731

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"devserver",
3-
"version":"0.2.0",
3+
"version":"0.2.1",
44
"description":"Simple local development server",
55

66
"author":{
@@ -19,12 +19,12 @@
1919
},
2020

2121
"dependencies":{
22-
"connect":"2.5.x",
23-
"cli":"0.4.x",
24-
"http-proxy":"0.8.x",
25-
"pause":"0.0.x",
26-
"send":"0.1.x",
27-
"xregexp":"2.0.x"
22+
"connect":">= 2.7.2",
23+
"cli":">= 0.4.4-2",
24+
"http-proxy":">= 0.8.7",
25+
"pause":">= 0.0.1",
26+
"send":">= 0.1.0",
27+
"xregexp":">= 2.0.0"
2828
},
2929

3030
"directories":{

0 commit comments

Comments
 (0)