Skip to content
This repository was archived by the owner on Mar 26, 2018. It is now read-only.
This repository was archived by the owner on Mar 26, 2018. It is now read-only.

grunt watch HTML task / disparity between watch & build #804

Closed
@josephniet

Description

@josephniet

I would like to be able to use the same task as used by grunt build to keep things standardised when using grunt serve.

Case scenario:
I'm using inline-blocks for layout, which is affected by whitespace: http://css-tricks.com/fighting-the-space-between-inline-block-elements/
Grunt build strips the whitespace using htmlmin, which is great, but there's currently no processing being done on watch. For me, this is a pretty common scenario.

I understand that relying on htmlmin for layout purposes might not really be best practise, but i've found it a very clean and practical solution so far. I'm also aware this would add some extra overhead to the watch compile time, especially once #277 is complete. Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions