Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Running in watch mode

Thibault Maekelbergh edited this page Mar 25, 2019 · 1 revision

The easiest way to develop against the plugin codebase is to start it in watch mode. You can then symlink the plugin built by skpm to your Sketch plugin directory and it will be available in Sketch itself, refreshing code at runtime.

Build the plugin once first, so we can symlink:

$ npm run build
$ ln -s /location/of/repo/on/disk/hubble-sketch-plugin.sketchplugin "$HOME/Library/Application Support/com.bohemiancoding.sketch3/Plugins"

Start watch mode:

$ npm run watch