You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 7, 2020. It is now read-only.
IMPORTANT: This project is archived, we are no longer supporting this .NET Core tool.
⭐ Please star this project if you find it useful!
A dotnet global tool that enables start any web folder or EmbedIO assembly (WebAPI or WebSocket) from command line.
Installation
We are using the brand new implementation of the Global Tool in .NET Core Apps 2.1+. Now you can easily download the package by running the next command
dotnet tool install -g embedio-cli
Custom installation
If you download the project and want to test installing your own version of the project you need to pack and then install the nuget
// In the root of your project run
$ dotnet pack
// Run the following command where you nupkg was created
$ dotnet tool install -g embedio-cli --add-source ./
Usage
Default serve
Run the command to serve a static folder and watch the files in the current directory. The command will serve a web page if it finds an index.html file or a wwwroot folder, otherwise it will serve the files to navigate them in the web browser.
$ embedio-cli
By default, all the files inside the folder are been watched and if any change happens on them it will reload the page, you can disable this functionality by passing --no-watch