Closed Breefield closed 9 years ago
I'm using gulp connect to serve, like so:
var port = 5000; connect.server({ port: port, livereload: true });
Which works fine for accessing localhost:5000, however I'm adding local-tld. So it registered itself:
if(process.platform == 'darwin') { ltld.add(pkg.name, port); gutil.log(pkg.name + '.dev:' + port) }
And my ~/.local-tld.json is updated, however—http://PACKAGE_NAME.dev won't load assets, it only works when I access http://PACKAGE_NAME.dev:5000.
~/.local-tld.json
So it seems local-tld isn't routing the name to the port correctly, simply aliasing localhost. Any thought?
Decided to use pow.cx's port proxy feature.
I'm using gulp connect to serve, like so:
Which works fine for accessing localhost:5000, however I'm adding local-tld. So it registered itself:
And my
~/.local-tld.json
is updated, however—http://PACKAGE_NAME.dev won't load assets, it only works when I access http://PACKAGE_NAME.dev:5000.So it seems local-tld isn't routing the name to the port correctly, simply aliasing localhost. Any thought?