一覧へ戻る
jem-computer/rollup-plugin-sketch-livereload(新しいタブで開きます)
主要言語: JavaScript
- star 数
- 2
- watcher 数
- 1
- fork 数
- 0
- issue 数
- 0
- 最終更新
- 2017/04/11
主要言語: JavaScript
Rollup plugin for rerunning a Sketch plugin after it changes.
Using npm:
npm install rollup-plugin-sketch-livereload --save-dev
Using yarn:
yarn add rollup-plugin-sketch-livereload -D
const livereload = require('rollup-plugin-sketch-livereload') const { main } = require('./package.json'); module.exports = { plugins: [ livereload({ enabled: process.env.RENDER === 'true', bundle: main, }), ] }
Whether to render.
Boolean, defaults to true.
Location of the .sketchplugin file. If you're using skpm, you can use main from package.json.
String
Identifier to the command in the Sketch plugin's manifest.json.
String, defaults to main.