Summary#
Stops the local platform for your project — the one Compiling your app, Running tests locally and Launching your app start on demand. The platform's database stops with it, so there is nothing left running after it returns.
Signature#
osy stop [path] [--devname <name>]Description#
The loop commands start a local platform in the background when one isn't already running, and leave it up so your next
command is fast (Running a local platform). osy stop is how you shut that platform down when you're done —
it stops the server and the database it manages, and reports plainly when there was nothing running.
You rarely need it during a normal session: leaving the platform running between commands is the point, and it costs little. Reach for it when you want a clean slate, are switching away from a project, or want to be sure nothing is running in the background.
pathselects the project (defaults to the current directory).--devnamestops a named server instead of this project's, matchingosyrin dev --devname(settingOSY_DEVNAMEworks too).
It only ever stops a server it can confirm is the one it started: it matches the running process against what the server recorded about itself, and if the recorded server is already gone it simply reports that and stops nothing — it will not signal an unrelated process that has since taken over the same slot.
Examples#
osy stop # stop the local platform for this projectSee also#
Listing your local platforms — see every local platform on this machine, and which are still running.
Running a local platform — the local platform this stops, and how the loop starts it for you.
Compiling your app — compile your source into your app (starts the platform if needed).
Running tests locally — run your app's tests locally (starts the platform if needed).