Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.
/ imba-node-watch Public archive

Watch for file changes and restart the node application

License

Notifications You must be signed in to change notification settings

imba/imba-node-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imba-node-watch

This tiny CLI tool watches for changes in *.imba files and restarts the given imba file as node application. It is needed when you develop server-side application in Imba. Uses chokidar under the hood.

Doesn't create compiled js-files -> no mess with temporary output js-files.

  1. Install package as develop dependency: yarn add imba-node-watch -D
  2. Add script for monitoring in your package.json: "dev": "imbaw source/index.imba". imbaw is a cli program to monitor and restart imba app and it takes only one parameter - the filename to run.
  3. Start your application: yarn dev

I use yarn, but the same would work with npm.

About

Watch for file changes and restart the node application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published