gulpfile.babel.js blocking grommet-toolbox "gulp dev" task
See original GitHub issueThe default “gulp dev” task in gulpfile.babel.js is blocking the groomet-toolbox “gulp dev” task.
gulp.task('dev', () =>
console.error(
'Running "gulp dev" at Grommet root folder is not supported. If you want to start the website, run "gulp dev" at docs folder'
)
);
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Error when running any of the gulp tasks from gulpfile.babel.js
After updating to Foundation CLI version 2.2.3, I'm now getting errors when attempting to run any of the gulp tasks included in gulpfile.babel....
Read more >JavaScript and Gulpfiles - gulp.js
Gulp allows you to use existing JavaScript knowledge to write gulpfiles or to use ... Any exported functions will be registered into gulp's...
Read more >Is it possible write a gulpfile in es6? - Stack Overflow
Yes, you can by using babel. Make sure you've got the latest version of the gulp-cli. npm install -g gulp-cli. Install babel as...
Read more >Getting Started with Gulp.js - Semaphore Tutorial
Learn how to set up and use Gulp.js, a task runner for Node.js based on Node streams. We'll introduce main concepts of Gulp...
Read more >Quick: ES6 gulpfile using Gulp 4 with Babel - Goede Site
By default Gulp does not support modern javascript features such as import statements, consts and lets. In this quick post I try to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
correct, we need to update the message. Can you craft a Pull Request to update the console message properly?
The grommet website has been moved to a separate repo:
https://github.com/grommet/grommet-docs
To test grommet components I usually use the website, so I’m glad you are going in the same direction.
If you clone
grommet-docs
at the same workspace as you havegrommet
, as in:Inside
grommet-docs
you can rungulp dev --useAlias
. This command will start the website pointing to your grommet core instead of using the one from node_modules.Hopefully this helps, the configuration to make this work is in here:
https://github.com/grommet/grommet-docs/blob/master/grommet-toolbox.config.js#L58
and here
https://github.com/grommet/grommet-docs/blob/master/gulpfile.babel.js#L35
Yeah I can experience the issue with hot reloading as well.