Skip to content

smoothdev.web

smoothdev-web is a .NET global tool. One command starts the dev server under dotnet watch, Fable and Vite on free ports, builds the static bundle, runs the published production server, shows the logs, and stops the process tree again.

Terminal
smoothdev-web dev start
smoothdev-web status
smoothdev-web dist
smoothdev-web stop

Install it from a clone, in tools/smoothdev-web:

Terminal
dotnet fsi build.fsx -- install

scan gui walks a folder for Vite apps, Web SDK projects and smoothdev.web.json files, and opens one of them with the same controls as a single app. From this repository's build script, dotnet fsi build.fsx -- watch runs that scan under dotnet watch, using the directory the script was started from.

An ASP.NET server has to listen on the URL the tool passed. That contract is ASP.NET server.

A Vite server.proxy entry has to target SMOOTHDEV_WEB_SERVER_URL. That contract is Vite proxy.

A documentation site and the Vite apps it hosts (found, mounted, run behind one port, published together) are Docs sites and Vite apps.

Which ports are taken, and who started what, in any folder, is the launch registry: Launches and ports.

How starting, finding and stopping a process tree differ between Linux, macOS and Windows is Platform differences.

Edit this page