-
Notifications
You must be signed in to change notification settings - Fork 757
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
inserting body element and script into iframe src html document #330
Comments
The body gets put in with gulp-connect too, so that part is not part of this bug/feature request. I am able to turn off gulp-connect's livereload JS insertions. |
Hi - thanks for the details. I've been looking at this recently and I'm leaning towards the idea of providing more options regarding the snippet injection. One of them will be something like snippet: {
excludePaths: ["app/templates/*.html"]
} Do you think that would solve your issue? |
Sure, that would do it. |
Ok, it's happening. You'll be able to do either snippet: {
excludePaths: ["app/templates/*.html"]
} or, which may actually be more useful, there'll also be snippet: {
includePaths: ["app/*.html"]
} |
Great, thanks for the quick work! |
Is there some way to stop/ignore html files loaded in iframes? I am using this from the gulp-angular-generator. I have tried several options. The files that get loaded are from a directory not watched by anything -- just served.
In this screen grab you will a body element and script that do not exist in the src:
The server looks like:
Watch looks like:
The text was updated successfully, but these errors were encountered: