I have this search service:

```
export class SearchbarComponent implements OnInit {
  data: Observable<any>;
  search = new FormControl();

  constructor(private searchService: SearchbarService) {}

  ngOnInit() {
    this.data = this.search.valueChanges
      .pipe(
        debounceTime(1),
        distinctUntilChanged(),
      )
      .pipe(switchMap(search => 
       this.searchService.getSearchResults(search)));
  }
}

```

In the view I do something like this

```
<input placeholder="Search users here" [formControl]="search" />

<div *ngFor="let d of (data | async)" >
 {{ d.name }}
</div>

```

it works great but only on the first time but after showing the first result, the view doesnt get updated after that.

What am I doing wrong?