Skip to content

Conversation

vladvelici
Copy link

Addresses issue #44.
Restarting on template change can be achieved using flags "-e .go -e .html".

I needed to restart the server when I edit templates, and I see others have this issue too. This is a really simple solution by just adding a command line flag --ext (short -e), which is an array of strings, so one can do, for example:

gin -e .go -e .html

I would really appreciate any feedback.

Thanks
Vlad

…extensions to watch for changes.

Addresses issue codegangsta#44.
Restarting on template change can be achieved using flags "-e .go -e
.html".
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.

1 participant