Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

can't deploy it on heroku at all please need help #212

Open
heshamelmasry77 opened this issue Sep 13, 2017 · 1 comment
Open

can't deploy it on heroku at all please need help #212

heshamelmasry77 opened this issue Sep 13, 2017 · 1 comment

Comments

@heshamelmasry77
Copy link

heshamelmasry77 commented Sep 13, 2017

Angular 1, java script , gulp

@heshamelmasry77
Copy link
Author

heshamelmasry77 commented Sep 21, 2017

i found what was the error,
you need to go to this file browsersync.conf.js
and add port: process.env.PORT || 5000 thats how it will work.


const conf = require('./gulp.conf');

module.exports = function () {
  return {
    server: {
      baseDir: [
        conf.paths.tmp,
        conf.paths.src
      ]
    },
    open: false,
    port: process.env.PORT || 5000
  };
};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant