var liveServer = require("live-server"); var params = { port: 8080, host: "0.0.0.0", ignore: 'db_data,server/uploads', file: "index.html", wait: 500, proxy: [ ['/api', 'http://127.0.0.1:4000/api'], ['/uploads', 'http://127.0.0.1:4000/uploads'] ] }; liveServer.start(params);