-
Notifications
You must be signed in to change notification settings - Fork 41
Add Gulp to README dependencies #37
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
Conversation
Gulp is needed globally to run the build/dev server processes, also added a note about `gulp serve` and a minor sentence change for running the generator.
Thanks for the pull request Pam. There's actually some logic in the codebase to check whether a user has gulp installed globally or not (https://github.com/swirlycheetah/generator-angular2/blob/master/app/index.js#L64) but perhaps that's not working as it should be. If you could try re-running the generator, letting me know if you've got gulp installed globally or not and then seeing what command Yeoman says to run once the generator has finished that'd be useful. I'd prefer not to have to ask people to install global packages if possible so it'd be good to figure out an alternative solution, perhaps something like wrapping the gulp tasks in |
@swirlycheetah I got it to run once I installed gulp globally ... my testing ground is biased though, because I had to unbork some Node setup on this machine, so the yo process halted and I had to step into it. Generator works great once all that (and gulp) is set up :) I also dislike global packages, so I'm with you there, and I noticed there weren't any [UPDATE] The code snippet for post-boot is only for launching on that first run ... for future runs, sounds like an |
Sorry, I missed your update. Just for clarification do you mean an |
@swirlycheetah Yes, my suggestion is an |
Have added the npm run scripts and pushed a new tag, 0.6.2. Any further issues let me know. |
Apologies if this is added somewhere else ... but I don't see your changes here, FYI https://github.com/swirlycheetah/generator-angular2/blob/master/package.json#L19-L21 |
Ah, the package.json that gets created when you run I have noticed one issue with 0.6.2, if you're using npm >= version 3 there's an issue with the traceur runtime location (#39), I'll get this fixed tonight. |
the
you'll want
I like how you used build + start! I've brute forced in the past ( |
I'm closing this PR since I don't want it merged and you're doing fixes elsewhere :) feel free to make an issue, but I think this is almost done anyhow. Thanks for maintaining the generator! |
Thanks for the feedback Pam. You don't actually need to reference the longhand path for local dependencies when using npm run scripts, see https://docs.npmjs.com/cli/run-script;
|
|
Gulp is needed globally to run the build/dev server processes, also a minor sentence change for running the generator.