question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gulpfile.babel.js blocking grommet-toolbox "gulp dev" task

See original GitHub issue

The 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:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
alansouzaticommented, Apr 18, 2016

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 have grommet, as in:

  /grommet-workspace
    - /grommet
    - /grommet-docs

Inside grommet-docs you can run gulp 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

0reactions
alansouzaticommented, Apr 19, 2016

Yeah I can experience the issue with hot reloading as well.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found