Giter Site home page Giter Site logo

nekomimi's Introduction

nekomimi

基于Deno的一个监听代码修改并自动重启项目的工具。

参数配置

在config.ts中配置参数

参数 说明
rootDir 项目的根目录,nekomimi会以此为顶级目录查找文件。
exts 指定要查找文件的扩展名。
excludeDir 排除的目录,例如["/.git"]。
cmd 每次检测到改动后执行的命令。
autoRun 是否在启动nekomimi后马上执行一次命令。
checkInterval 检查改动的时间间隔,默认500毫秒。
reloadDelay 重新加载的延迟时间,防止短时间内多次修改保存造成的重复加载。

执行

1、 确保已经安装了Deno,Deno的安装参照官网

2、 进入nekomimi根目录,执行 deno --allow-run --allow-read nekomimi.ts

如果提示权限不足,请尝试在前面加上sudo,如:sudo deno --allow-run --allow-read nekomimi.ts

nekomimi's People

Contributors

yzt2nn avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.