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

Add command line flag "--ext" (short "-e") to specify a list of file extensions to watch #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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