Skip to content

Commit

Permalink
fix(cli): allow disable injection via cli - fixes #444
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed Feb 17, 2015
1 parent 75d8231 commit 12ffbd7
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/cli/opts.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
"no-online": "Force offline usage",
"no-ui": "Don't start the user interface",
"no-ghost-mode": "Disable Ghost Mode",
"no-inject-changes": "Reload on every file change",
"no-reload-on-restart": "Don't auto-reload all browsers following a restart"
}
12 changes: 12 additions & 0 deletions test/fixtures/svg.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Included SVG reload test</title>
</head>
<body>

<iframe src="svg/bin.svg" frameborder="0"></iframe>

</body>
</html>
17 changes: 17 additions & 0 deletions test/fixtures/svg/bin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 12ffbd7

Please sign in to comment.