Open AdamGerthel opened 12 years ago
Hi Adam @AdamGerthel!
Yes. NodeJuice can proxy to any web server. Including other Node.JS Express
servers. The way to do this is to edit the nodejuce.js config file and point the host to your web server IP/PORT. Like This:
exports.sidekick = {
host : null, // Leave 'null' to listen on localhost (127.0.0.1).
port : 8010, // access auto-refresh URL from this port.
fetch : { // point to your web server.
host : 'localhost', // <-- point this to NODE.JS EXPRESS
port : 8080 // <-- point this to NODE.JS EXPRESS
}
};
Nodejuice has potential to be a very useful prototyping tool
Does it work with express and jade files (instead of .html)?