Skip to content

Commit

Permalink
Default to notify trigger
Browse files Browse the repository at this point in the history
Fixes GoogleContainerTools#1566

Signed-off-by: David Gageot <david@gageot.net>
  • Loading branch information
dgageot committed Jul 16, 2019
1 parent 3a71793 commit 2071e06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/skaffold/app/cmd/dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewCmdDev() *cobra.Command {
WithDescription("Run a pipeline in development mode").
WithCommonFlags().
WithFlags(func(f *pflag.FlagSet) {
f.StringVar(&opts.Trigger, "trigger", "polling", "How are changes detected? (polling, manual or notify)")
f.StringVar(&opts.Trigger, "trigger", "notify", "How are changes detected? (polling, manual or notify)")
f.StringSliceVarP(&opts.TargetImages, "watch-image", "w", nil, "Choose which artifacts to watch. Artifacts with image names that contain the expression will be watched only. Default is to watch sources for all artifacts")
f.IntVarP(&opts.WatchPollInterval, "watch-poll-interval", "i", 1000, "Interval (in ms) between two checks for file changes")
}).
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/docs/references/cli/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ Options:
--skip-tests=false: Whether to skip the tests after building
--tail=true: Stream logs from deployed objects
--toot=false: Emit a terminal beep after the deploy is complete
--trigger='polling': How are changes detected? (polling, manual or notify)
--trigger='notify': How are changes detected? (polling, manual or notify)
-w, --watch-image=[]: Choose which artifacts to watch. Artifacts with image names that contain the expression will be watched only. Default is to watch sources for all artifacts
-i, --watch-poll-interval=1000: Interval (in ms) between two checks for file changes
Expand Down

0 comments on commit 2071e06

Please sign in to comment.