Skip to content

敏捷开发,保存即时执行,支持多种开发环境[nodejs|python|swift and more...]

Notifications You must be signed in to change notification settings

gavinning/replay-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replay app

文件保存时自动执行
nodejs敏捷开发工具,免去手动执行命令行的步骤,每次保存自动执行,控制台即时输出结果

Install

npm i replayapp -g

Usage

Usage: replay [options]

Options:

-V, --version  output the version number
-r, -R         Recursive subfolders
-d, --deep     Recursive subfolders
-i, --ignore   Ignore items
-e, --engine   Runtime environment support (node|python|swift...) (defaults to node)
-h, --help     output usage information

只监听app.js

replay app.js

监听app.js所在的目录 所有change事件都会触发

replay -r app.js
replay -d app.js
replay --deep app.js

Example 1

replay demo/test.js
# => Listening demo/test.js and replay demo/test.js

replay -i app.js -e node -d demo/test.js
# => Listening demo and replay demo/test.js

Example 2

replay hello.py -e python
# => Listening hello.py and replay hello.py

Example 3

replay main.swift -e swift
# => Listening main.swift and replay main.swift

About

敏捷开发,保存即时执行,支持多种开发环境[nodejs|python|swift and more...]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published