heroku using gulp - no error in logs - still -
i trying setup heroku deploy using gulp...
2015-05-31t12:39:43.160121+00:00 app[web.1]: [12:39:43] webserver started @ http://localhost:24018
2015-05-31t12:39:43.208954+00:00 app[web.1]: [12:39:43] finished 'serve' after 544 ms
2015-05-31t12:40:39.255239+00:00 heroku[web.1]: error r10 (boot timeout) -> web process failed bind $port within 60 seconds of launch
2015-05-31t12:40:39.255427+00:00 heroku[web.1]: stopping process sigkill
as per logs webserver started @ given port.. below how getting
port: process.env.port || 8080,
so there other port heroku expects application start or there way 1 can know port heroku checking??
note : app starts if forman start web
, can issue here?? though forman
starts application @ port 5000. tried hardcore port 5000 still got same error above...
the problem using gulp-webserver defaults localhost, need change host: '0.0.0.0'
gulp.task('heroku', ['wiredep','inject'], function () { return gulp.src(config.base) .pipe(plugins.webserver({ host: '0.0.0.0', port: process.env.port, livereload: false, open: false })); });
Comments
Post a Comment