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

gulp does not re-compile js #11

Closed
w0rldart opened this issue May 31, 2015 · 7 comments
Closed

gulp does not re-compile js #11

w0rldart opened this issue May 31, 2015 · 7 comments

Comments

@w0rldart
Copy link

Is it only me experiencing the issue where executing gulp won't re-compile any .js files from inside angular/ directory?

the .angular() directive should output the updated app.js, but it doesn't. I've also tried .angular('angular/', 'public/js/', 'app.js') with same result.

Any ideas?

@jadjoubran
Copy link
Owner

I guess the issue is that you have a jshint issue.

git bash

when you see a similar warning then it won't recompile your JavaScript.

If you don't want it to lint jshint, you can just delete the .jshintrc file.

Let me know if it works for you

@hafeez1042
Copy link

Hi jadjoubran
Have the same issue, but i cant find .jshintrc file.
Can you give me the location of .jshintrc file.
Thankyou.

@jadjoubran
Copy link
Owner

Thank you for your report!
Here's the .jshintrc file in the repository https://github.com/jadjoubran/laravel5-angular-material-starter/blob/master/.jshintrc
So it's at the root level of your project. On windows, it might be hidden by default because the file starts with a dot. If you're not interested in jshint, you can simply remove the file.

Let me know if either of the methods works for you
Thanks!

@hafeez1042
Copy link

Thanks bro. Issue solved. :)

@jadjoubran
Copy link
Owner

Okay great! I'll update the documentation asap

@jadjoubran
Copy link
Owner

With 2.7.0 you can now enable jshint and it'll simply report the warnings without failing. I also made the gulp tasks 4 times faster!

I'd love to get your feedback.
Thanks!

@w0rldart
Copy link
Author

👍

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

3 participants