Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Weird Cannot GET/ Error #15

Open
brentbrinkley opened this issue Jul 8, 2017 · 0 comments
Open

Weird Cannot GET/ Error #15

brentbrinkley opened this issue Jul 8, 2017 · 0 comments

Comments

@brentbrinkley
Copy link

Browsersync only seems to work when I run brunch watch -s the weird thing is it actually attempts to use port 3334 but actually works on port 3333. If try to go to port 3334 I see Cannot GET / .

When I run brunch watch without the server flag when I go to port 3333 I also see Cannot GET / I've included my brunch-config and the debug log. Let me know if you need more info.

module.exports = {
  config: {
    paths: {
      watched: ["app"]
    },

    files: {
      javascripts: {
        joinTo: {
          'js/vendor.js': /^(?!app)/,
          'js/app.js': /^app/
        }
      },
      stylesheets: {
        joinTo: "css/app.css"
      }
    },

    plugins: {

      elmBrunch: {
        mainModules: ["app/elm/Main.elm"],
        outputFolder: "public/js/",
        parameters: ['--warn']
      },
      sass: {
        mode: "native",
        options: {
          includePaths: [
            'node_modules/bulma'
          ]
        }
      },
      babel: {
        presets: ['es2015'],
        ignore: [
          // /^node_modules/,
          /^elm/
        ]
      },
      browserSync: {
          port: 3333,
          logLevel: "debug",
          // open: "local",
          notify: false
      },

    }
  }
};

And here's the debug log
screen shot 2017-07-08 at 4 21 04 pm

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