# Usage

The flutter-view command is:

> `flutter-view [options] <directory [, directory...]>`

Flutter-view scans for Pug and HTML files in one or more directories. For it to work, you need to pass where your source code is. Normally this is the **lib** directory of your project.&#x20;

In almost every case, you want to go to your project directory and type:

> `flutter-view -w lib`

This will tell flutter-view to watch your lib directory, and keep watching (-w) for changes.

When flutter-view creates or updates Dart files, it will tell you:

<div align="left"><img src="https://1044685232-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LRHVDDIma_3N68abufD%2F-LSqQa5Yaq5DIWyWhCW6%2F-LSqQdhb6qenGO1TRCMz%2FScreen%20Shot%202018-12-04%20at%2012.36.39%20AM.png?alt=media&#x26;token=605d805a-7fed-4d50-b2db-39a26d1e4224" alt=""></div>
