Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Watch changes on js files #329

Closed
igarcez opened this issue May 7, 2015 · 3 comments
Closed

Watch changes on js files #329

igarcez opened this issue May 7, 2015 · 3 comments

Comments

@igarcez
Copy link
Contributor

igarcez commented May 7, 2015

I think there should be already default, watch and rebuild js file, I could make it work adding this to the watch directive on gruntfile

js: {
        files: ['js/custom/**/*.js'],
        tasks: ['concat', 'uglify']
      },

Do you think this is valid? should I make a pull request for this?

@olefredrik
Copy link
Owner

You are probably right that 'grunt watch' should also monitor js files. While we're at it, perhaps the 'grunt watch' task should also include a livereload on change in *.php files. Feel free to post a pull request :)

@igarcez
Copy link
Contributor Author

igarcez commented May 8, 2015

will do it, just need a little time! thanks!

@igarcez
Copy link
Contributor Author

igarcez commented May 9, 2015

pull request created, closing this issue!

@igarcez igarcez closed this as completed May 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants