Giter Site home page Giter Site logo

Comments (10)

alansouzati avatar alansouzati commented on July 30, 2024

The way you had in the first pass it is the right one. Having devServer key inside the main grommet toolbox config.

I'm not sure why this is not working for you, I've just tested it and it works for me.

Can you provide extra information here? Like the version of toolbox you have, version of node, things like that.

Also can you debug inside node_modules/grommet-toolbox/lib/gulp-tasks-dev.js ?

https://github.com/grommet/grommet-toolbox/blob/master/src/gulp-tasks-dev.js#L65

If you here I do a deep assign of devServer key to the config for the dev server. it would be a good idea to put a console.log in your node_modules and see if the header is present.

from grommet-toolbox.

harshithjv avatar harshithjv commented on July 30, 2024

Hey @alansouzati ,

Thanks for clarification. I debugged again.

It does not come up in inside dev-server wrapper url, i.e., 'http://localhost:9000/webpack-dev-server/' But available on direct loading of URls, i.e., http://localhost:9000 or http://localhost:9000/home

from grommet-toolbox.

harshithjv avatar harshithjv commented on July 30, 2024

But applying headers within 'webpack' key won't work.

from grommet-toolbox.

alansouzati avatar alansouzati commented on July 30, 2024

Would you mind raising an issue with webpack dev server? I believe there is nothing I could do on my end.

from grommet-toolbox.

alansouzati avatar alansouzati commented on July 30, 2024

Closing the issue for now. Feel free to re-open it if you still feel there is something to fixed in the grommet toolbox side of things.

from grommet-toolbox.

harshithjv avatar harshithjv commented on July 30, 2024

@alansouzati I don't its webpack issue.

from grommet-toolbox.

alansouzati avatar alansouzati commented on July 30, 2024

I'm reopening the issue. have you tried it outside grommet-toolbox? can you provide extra information why you think this is not a webpack issue? there is nothing toolbox is doing apart from setting the header.

from grommet-toolbox.

alansouzati avatar alansouzati commented on July 30, 2024

Can you provide extra information here?

from grommet-toolbox.

tracybarmore avatar tracybarmore commented on July 30, 2024

Hey @harishithjv, thanks for all your collaboration with us. We will be cleaning up our backlog first week of January 2017 by closing unresponsive issues that haven't been active for at least 30 days.

If you would like this issue to remain open in our backlog, please comment to let us know. Thanks!

from grommet-toolbox.

tracybarmore avatar tracybarmore commented on July 30, 2024

Backlog Grooming Jan 4, 2017 - Closing issue

from grommet-toolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.