8000 Trigger gulp task after grow development server runs? · Issue #1115 · grow/grow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Trigger gulp task after grow development server runs? #1115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gigamesh opened this issue Jul 27, 2020 · 2 comments
Open

Trigger gulp task after grow development server runs? #1115

gigamesh opened this issue Jul 27, 2020 · 2 comments
Assignees

Comments

@gigamesh
Copy link
gigamesh commented Jul 27, 2020

I'm trying to add browser-sync to a grow project that uses gulp, but I'm running into race conditions. I'm assuming this is because gulp strictly treated as a preprocessor by grow and runs first? Is it possible to make it trigger a gulp task after the dev server does its thing?

The company where I work uses grow a ton so this would be VERY helpful.

@jeremydw
Copy link
Member

Gulp and Grow's dev server start in parallel, and Grow's dev server can take a few seconds to start up while it's computing the routing tree.

Agree that a "ready" trigger would be really helpful. We'll need to update the preprocessor configuration options to support a new "autorun" or "run" type.

@gigamesh
Copy link
Author

Ok cool - I might try making a PR for it if I can find the time. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0