npm i -g widget-tool
widget-tool -w WIDGET_PATH
All available options:
Usage: widget-tool [options]
Tool for developing appcube widget: widget-tool -w WIDGET_PATH
Options:
-V, --version output the version number
-p, --port <port> listening port, default is 3000
-d, --dir <dir> appcube widget directory path, default is current path(.)
-w, --watch watch file change in the widget dir
-h, --help display help for command