Live Server & Auto-Save for Sublime
3 min readSep 29, 2020
Actively updates preview for web development and auto-save
Live Server
- Press
CTRL + SHIFT +P
orCMND + SHIFT +P
to open control terminal - Type “install ”and click on Package Control: Install Package
- Then type “Browser sync” and select Browser Sync
- Wait for it to install and on the navbar there should now be a “Browser Sync” option
- Restart Sublime.
- Choose an HTML file, click on “Browser Sync”, and press “Launch”
Auto-Save
- Press
CTRL + SHIFT +P
orCMND + SHIFT +P
to open control terminal - Type “install ”and click on Package Control: Install Package
- Then type “auto-save” and click on “auto-save”
- After installation is complete, it will pop up the documentation (Don’t close the file and read it)
- Go to Preferences > Key Bindings. The key bindings file should pop up.
- The left panel is a list of the default shortcuts. The right pane is where we will override the Save shortcut key.
Copy and paste{ “keys”: [“ctrl+s”], “command”: “auto_save” }
into the left pane - Now whenever you press
CTRL+S
orCMND+S
it will toggle auto-save - After toggling it to on, delete the line so you don’t accidentally toggle it off