Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Grunt: Add watch task to rebuild on src changes #238

Closed
wants to merge 1 commit into from

Conversation

jzaefferer
Copy link
Contributor

Fixes #236

watch: {
src: {
files: ['src/*', 'pointerevents.js'],
tasks: ['build', 'lint'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the order be reversed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer watch tasks to build as fast as possible, so that any reload in a browser will get up-to-date files, even when linting fails.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@jzaefferer jzaefferer closed this in 19e739e Nov 2, 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

Successfully merging this pull request may close these issues.

3 participants