Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fsrun

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fsrun

start and restart os processes on file system watch events.

  • 0.9.4
  • latest
  • Source
  • npm
  • Socket score

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

fsrun

start and restart os processes on file system watch events.

fsrun ./ [node app.js]

fsrun ./ [cargo run --example app]

fsrun ./ [dotnet build]

install

npm install fsrun -g

overview

fsrun is a simple command line tool to start and restart OS processes from file system watch events. fsrun works in a similar fashion to nodejs tools like nodemon and node-supervisor, but focuses on being able to restart any type of process.

fsrun was primiarly written as a quick / easy to install developer aid for "compile/restart on save" scenarios.

running processes

fsrun will run shell commands written within the [] brackets.

fsrun [echo hello world]

By default, fsrun will watch the current working directory.

fsrun [echo hello world]

is the same as

fsrun ./ [echo hello world]

users can explicity state which path to watch. The path given should be absolute or pathed relative to the current working directory. The path should also preceed any commands.

fsrun ../relative/path [echo hello]

fsrun c:/absolute/path/index.js [echo world]

running multiple processes

fsrun can run multiple processes. Each process is run concurrently and will be started / restarted as a group on file system changes.

fnrun ./ [echo one] [echo two] [echo three]

watching multiple paths

It is possible to watch multiple paths seperating each path with a space. The following watches ./this and ./that and echos hello.

fsrun ./this ./that [echo hello]

Keywords

FAQs

Package last updated on 25 Jun 2017

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