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

Add a gulp build:before task #879

Closed
kelvindart opened this issue Mar 29, 2016 · 5 comments
Closed

Add a gulp build:before task #879

kelvindart opened this issue Mar 29, 2016 · 5 comments

Comments

@kelvindart
Copy link

At the moment, the following build tasks are defined:

gulp.task('serve:before', ['watch']);
gulp.task('emulate:before', ['build']);
gulp.task('deploy:before', ['build']);

This is great if you use ionic serve, ionic emulate or ionic deploy respectively. However, I find myself working with the IDEs, so tend to use ionic build often and as a result, my HTML components are not built.

If I weren't too familiar with Ionic 2, it could have caused a headache trying to debug the reason why :).

May I suggest adding gulp.task('build:before', ['build']); to the default before hooks, so ionic build triggers the HTML components be built?

@Ionitron Ionitron added the v2 label Mar 29, 2016
@dylanvdmerwe
Copy link

Similar issue to this? ionic-team/ionic-gulp-tasks#2

@kelvindart
Copy link
Author

Good spot - exactly that :)

tlancina added a commit to ionic-team/ionic-conference-app that referenced this issue Mar 30, 2016
tlancina added a commit to ionic-team/ionic-conference-app that referenced this issue Mar 30, 2016
tlancina added a commit to ionic-team/ionic2-app-base that referenced this issue Mar 30, 2016
tlancina added a commit to ionic-team/ionic2-app-base that referenced this issue Mar 30, 2016
@tlancina
Copy link
Contributor

Should be updated in the starters, thanks!

@magician03
Copy link

magician03 commented May 19, 2017

Hi,

This is not working in Ionic v3. How to enable it ?? Earlier it used to work in Ionic v2.

@imhoffd
Copy link
Contributor

imhoffd commented May 19, 2017

@magician03 -> #1989

Not a feature yet, unfortunately.

pxfskjp added a commit to pxfskjp/Ionic-chat-app that referenced this issue Mar 2, 2021
pxfskjp added a commit to pxfskjp/Ionic-chat-app that referenced this issue Mar 2, 2021
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

6 participants