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

ehu

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ehu

esl-hot-update: Hot update esl modules when modifed. JS, LESS, tpl, component is all supported!

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

EHU(esl-hot-update)

  • esl-hot-update
  • 对esl模块,做热更新加载,极大方便调试!
  • 完美兼容edp、edp-webserver,使用方便
  • 全面支持支持MVC、Component、monitor、模板文件、LESS等等

安装

npm install -g ehu(mac下需要sudo,windows下需要管理员权限)

配置

  • yourProjectDir/ehu.config(JSON格式)
  • 配置参考
    {
        // 默认的web server地址
        "defaultServer": "http://127.0.0.1:8848",
        // 默认的web server启动命令
        "defaultServerCLI": "edp webserver start",
        // 从服务器根目录到需要监控的文件夹中间path
        "baseDir": "nirvana-workspace",
        // hot update 需要watch的文件夹(不包括baseDir)
        "watchDirs": "src,dep",
        // 入口文件(不包括baseDir)
        "indexHTML": "main.html",
        // ehu启动端口号(不可与默认的服务器端口号冲突)
        "port": 8844
    }

启动

cd yourProjectDir

ehu [-p(--port)]

手动启动默认web server

cd yourProjectDir

edp webserver start

ehu -n(--noServerCLI)

或者先配置defaultServerCLI为""

ehu

Keywords

FAQs

Package last updated on 04 Dec 2015

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