In Mojito on top of Node.js, I followed the example on http://developer.yahoo.com/cocktails/mojito/docs/quickstart/
What I did was renaming controller.server.js
to controller.server-foo.js
, and created a new file controller.server.js
to show "Hello World".
But when mojito is started, the old file controller.server-foo.js
is being used and so the "Hello World" is not printed. How come Mojito will use the old file?
(I also tried renaming controller.server-foo.js
to foo-controller.server.js
and now the "Hello World" is printed, but why is controller.server-foo.js
used?)