Deprecated IOWatcher
When running the example code, i receive the warning:
WARNING: don't use IOWatcher, it'll be removed in v0.9 WARNING: don't use IOWatcher, it'll be removed in v0.9
Do you see this with the example in examples/node-server.js or the example in examples/express-server.js ?
Both. Here's the output:
root@box:~/git/project/src/dispatcher/node_modules/m2node/examples# node express-server.js
Warning: express.createServer() is deprecated, express
applications no longer inherit from http.Server,
please use:
var express = require("express");
var app = express();
WARNING: don't use IOWatcher, it'll be removed in v0.9
WARNING: don't use IOWatcher, it'll be removed in v0.9
And:
root@box:~/git/project/src/dispatcher/node_modules/m2node/examples# node node-server.js
WARNING: don't use IOWatcher, it'll be removed in v0.9
WARNING: don't use IOWatcher, it'll be removed in v0.9
In both cases you fall back to the command line.
I have the same experience, both. And I also have the same problem with the examples falling back to the command line. I solved this by using
app.listen();
otherwise, i didn't see why the server would run. honestly though, i need to go through the code and do a better job of trying to understand how the handler is supposed to work. there isn't a lot of code, but it's complex enough to keep me confused!
Anyone solve this issue. I am having the same problem.
Here's another one suffering this issue.
Sorry about the issue. If anybody has a fix for it, I'll be happy to give you commit rights to the project.