Platinum sponsors

Save and the save server

Save your edits to your source files through the local save server.

Save

Click the save status button in the menu strip to open the save bar, then press SAVE. Cmd + S saves from anywhere in the page.

The Anime.js editor save bar with the SAVE and REVERT buttons and the version selector

The save rewrites only the changed values. Formatting, comments and the rest of your code stay as they were.

Status

The save status button shows the state of your edits:

Status Meaning
Save status with a green dot Connected to the save server, everything saved
Save status with a yellow count of unsaved changes The number of unsaved changes
Save status with a red count of failed changes The number of changes the last save could not write. See Save errors
Save status with a grey dot No save server found

A red dot means the connection to the save server was lost. Your edits stay in the editor until you can save them.

The save server

  • With the Vite plugin, it runs inside your Vite dev server.
  • Without Vite, start it with npm run editor from your project root.

While no server answers, the save bar shows the command to start it:

The Anime.js editor save bar with the npm run editor command that starts the save server

Start the save server, then reload the page.

After a save

With Vite, the page reloads with the new code on its own. With another build tool, keep its watcher running, then reload the page once the build is done.

Previous
Next