Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 960 Bytes

DEVELOPMENT.md

File metadata and controls

41 lines (26 loc) · 960 Bytes

NDS Sketch Plugin

Development Guide

This plugin was created using skpm. For a detailed explanation on how things work, checkout the skpm Readme.

Usage

Install the dependencies

npm install

Once the installation is done, you can run some commands inside the project folder:

npm run postinstall

To watch for Sketch Logs:

npm run watch

Debugging

To view the output of your console.log, you have a few different options:

  • Use the sketch-dev-tools
  • Open Console.app and look for the sketch logs
  • Look at the ~/Library/Logs/com.bohemiancoding.sketch3/Plugin Output.log file

Skpm provides a convenient way to do the latter:

skpm log -f

The -f option causes skpm log to not stop when the end of logs is reached, but rather to wait for additional data to be appended to the input