blob: 26aeae4a551e7f342b5dbcfad9ebe457914fd5f9 [file] [log] [blame]
import * as express from 'express';
// TODO(mrmeku): Show case a way to launch a devserver bazel target.
module.exports = (on, config) => {
const app = express();
app.get('/', function(req, res) {
res.send('<html><body>hello-world</body></html>');
});
const port = 3000;
app.listen(port);
config.baseUrl = `http://localhost:${port}`;
return config;
};