# `GSPathWatcher addObserver:forFolder:`

*Type Method*

## Declaration

```swift
class func add(_ observer: any GSPathWatcherObserver & NSObjectProtocol, forFolder folderPath: String)
```

```objc
+ (void) addObserver:(NSObject<GSPathWatcherObserver> *) observer forFolder:(NSString *) folderPath;
```

```python
addObserver_forFolder_(observer: NSObject<GSPathWatcherObserver>, folderPath: str)
```

