Skip to content
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

Using multiple grunt tasks at start of project setup #47

Closed
ashleynolan opened this issue Mar 18, 2015 · 2 comments
Closed

Using multiple grunt tasks at start of project setup #47

ashleynolan opened this issue Mar 18, 2015 · 2 comments

Comments

@ashleynolan
Copy link
Contributor

I’ve found it a little tricky in terms of when starting a project and using the styleguide along-side the setup docs and statix build (when using the generator).

For example, if I run grunt start, and then immediately try and run grunt styleguide, it cannot serve up the styleguide via grunt-connect because the ports it requires to do so are already in use by the earlier started grunt connect task.

We just need to tweak this so that it is possible to run these tasks simultaneously when working on a project, without having to edit the grunt configs to allow for this.

@mrmartineau
Copy link
Member

I am adding this here as we have already discussed this matter. Styleguide sass compilation will be added to the existing grunt watch task so that whenever any project styles are changed, the styleguide is updated too – this would slow down compilation and style updates (when using browserSync or LiveReload) but at least it would always keep the styleguide up-to-date.

Running grunt start is used to install bower deps and show the project info/getting started page. I like this but as my preferred usage of the framework is using the Yeoman generator, I am not sure it is needed - Yeoman install npm and bower deps.

The idea is that users run grunt start at the beginning of the project, and grunt serve every time after that..

@mrmartineau
Copy link
Member

FYI in Kickoff v5.0.0 you will need to run npm run kickoff which installs npm dependencies & shows the checklist at http://trykickoff.github.io/learn/checklist.html

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

No branches or pull requests

2 participants