Closed drewcovi closed 12 years ago
You can use autosave --port some_other_port
(it’s documented in autosave --help
). I don’t see why do you need that since one routes.js can have as many rules as you want. How your routes file look like?
ah perhaps thats where I'm a bit confused. im still getting the error above with the following routes array exports.routes = [ { from: /^http:\/\/domain1.com/, to: '/Volumes/Personal/domains/domain1.com/html' }, { from: /^https:\/\/domain2.com/, to: '/Volumes/Pion/www/domain2.com/htdocs' }];
It should work just fine using a single instance. What’s the problem, exactly?
oh holy hell :) user error. I had an instance running minimized in my dock.
also thanks for your patience :)
Falling in love with this plugin and using it every day. THANKS!
Currently when trying to run two instances with different routes, I'm running into issues.
Error: listen EADDRINUSE
Is there a way we can assign different ports to listen on so we can map two directories to two different domains?
Or am I doing something wrong?