Comments (10)
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.
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.
But applying headers within 'webpack' key won't work.
from grommet-toolbox.
Would you mind raising an issue with webpack dev server? I believe there is nothing I could do on my end.
from grommet-toolbox.
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.
@alansouzati I don't its webpack issue.
from grommet-toolbox.
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.
Can you provide extra information here?
from grommet-toolbox.
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.
Backlog Grooming Jan 4, 2017 - Closing issue
from grommet-toolbox.
Related Issues (20)
- URLs with dot are rewritten when using webpack-dev-server
- Debugging (source maps) does not work as expected HOT 2
- Cannot set extension resolution for jsx files HOT 3
- We need a option to disable jsLint HOT 1
- Avoid use of cache mechanism HOT 4
- Scsslint default option is wrong HOT 1
- Deprecate scssLint option HOT 1
- Grommet-toolbox references outdated gulp-eslint which results in eslint issues with flow type HOT 5
- setupJsDom breaks other node plugins. HOT 1
- Improvement: Create an option to do not minify the code for debugging HOT 1
- Allow running a specific unit test. HOT 1
- Support for destructured imports HOT 3
- localization encoding HOT 1
- Make Grommet-Toolbox a generator app? HOT 12
- eslint failAfterError very disruptive HOT 4
- Is <AppContainer/> required as per react-hot-loader 3.x docs? HOT 6
- Any option to remove comments in compressed index.js after run 'gulp dist'? HOT 3
- Running gulp test normal globbing will run the entire test suite once for every file in the glob HOT 5
- Trying to load current options causes errors with FS HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grommet-toolbox.