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

Can't watch folder img with elixir-tinypng #2

Open
Jimmylet opened this issue Feb 15, 2017 · 2 comments
Open

Can't watch folder img with elixir-tinypng #2

Jimmylet opened this issue Feb 15, 2017 · 2 comments

Comments

@Jimmylet
Copy link

Hello,

I would like to know how to make the "watch" works on my "img" folder? Here, he won't do it.

My gulpfile.js :

elixir(function(mix) {
mix.stylus('app.styl'), null, {
    use: [autoprefixer('last 7 versions', 'ie8' )]
};
mix.tinypng({
    key: 'MY_API_KEY',
    sigFile: '.tinypng-sigs',
    summarize: true,
})

mix.browserSync({
    proxy: 'ecoleinfographie.app'
});

Thank you very much!

@ethanclevenger91
Copy link
Owner

ethanclevenger91 commented Feb 15, 2017 via email

@Jimmylet
Copy link
Author

Yes, thank you for your answer.

I attach the gulpfile and the package.json in a zip file.
Here is my file structure :

capture d ecran 2017-02-15 a 18 00 23

gulpfile&package.zip

Thank you very much !

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

2 participants