New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@symbiont-io/sym-watch

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbiont-io/sym-watch

A tool to listen to SymPL contract changes and create a fresh environment.

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
3
Weekly downloads
 
Created
Source

sym-watch

A utility to make contract changes easier when doing full-stack SymPL development.

Installation

npm install @symbiont-io/sym-watch

Run the sym-watch command by defining the directories you want to listen to and a custom task you want to run:

sym-watch -d contracts/lang9 contracts/lang10 -t customTask

Prerequisites

sym-watch assumes you already have the full version of sym > 2.0.3 installed locally.

Custom Task

The custom task argument is a configurable argument that can be run after the network is reset and contracts have been re-published.

E.g. if you wanted to run this task

-t symGenerate

Your application's package.json should have that task defined:

...
"symGenerate": "sym generate -o tests/app/frontend/src/generated -i tests/app/frontend/templates",
...

In this example, the watcher will re-generate js/ts code required for middleware and frontend development.

Development

If you would like to develop sym-watch locally, then clone the repo and run npm link from within the project root. Now you can make changes and run sym-watch elsewhere to see the results.

npm run cmd watch -- -d contracts -t myTask

License

MIT © Symbiont

Keywords

FAQs

Package last updated on 16 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc