Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hot reloading on CLI Tools #61

Open
cirospaciari opened this issue Jan 3, 2023 · 0 comments
Open

Add hot reloading on CLI Tools #61

cirospaciari opened this issue Jan 3, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@cirospaciari
Copy link
Owner

cirospaciari commented Jan 3, 2023

Should not add any dependencies, should use libuv to watch files.

 --static-files-dir PATH                             Enable static file server on this directory. You can also provide ROUTE:PATH ex: /assets:./public to say in what HTTP path route you wanna serve the files, default ROUTE is /.
 --reload                                            Enable auto-reload. These options also disable the --workers or -w options.
 --reload-dir PATH                                   Set reload directories explicitly, instead of using the current working directory.
 --reload-include TEXT                               Set extensions to include while watching for files. 
                                                     Includes '.py,.html,.js,.png,.jpeg,.jpg and .webp' by default; 
                                                     these defaults can be overridden with `--reload-exclude`. 
 --reload-exclude TEXT                               Set extensions to include while watching for files. 
 --reload-delay INT                                  Milliseconds to delay reload between file changes. [default: 1000]

Should allow multiple --reload-dir and --static-files-dir.

@cirospaciari cirospaciari self-assigned this Jan 3, 2023
@cirospaciari cirospaciari added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant