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

Feature: watch stylesheet if passed with --style arg and reload on stylesheet change #120

Merged
merged 5 commits into from
Jun 27, 2015
Merged

Feature: watch stylesheet if passed with --style arg and reload on stylesheet change #120

merged 5 commits into from
Jun 27, 2015

Conversation

gabeboning
Copy link
Contributor

Did it primarily for my purposes; hence I didn't bother to go so far as to watch stylesheet if it's included in the YAML front matter, but certainly makes my life a lot easier!

console.log('Rebuilding: ' + new Date());
createAndSave([file], options);
});

Copy link
Owner

Choose a reason for hiding this comment

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

Mind removing the empty line here?

@jdan
Copy link
Owner

jdan commented Jun 27, 2015

Works for me :) We should think about doing a first-pass of sorts that would allow us to get the front-matter styles for free.

Two small nits and then I'll happily merge! Thanks for this.

@gabeboning
Copy link
Contributor Author

Also added a log that stylesheet was being watched. Don't see any reason not to.

Anywhere, there ya go! Cheers.

jdan added a commit that referenced this pull request Jun 27, 2015
Feature: watch stylesheet if passed with --style arg and reload on stylesheet change
@jdan jdan merged commit d1a8c7e into jdan:master Jun 27, 2015
@jdan
Copy link
Owner

jdan commented Jun 27, 2015

Woot!

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

Successfully merging this pull request may close these issues.

2 participants