New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

bin/ehu.js

@@ -18,3 +18,3 @@ #!/usr/bin/env node

program
.version('0.0.6')
.version('0.0.7')
.usage('[options]')

@@ -21,0 +21,0 @@ .option('-p, --port <n>', 'Set the port(diffrent from edb-webserver) to start server', setPort)

{
"name": "ehu",
"description": "esl-hot-update: Hot update esl modules when modifed. JS, LESS, tpl, component is all supported!",
"version": "0.0.6",
"version": "0.0.7",
"keywords": [

@@ -6,0 +6,0 @@ "ehu",

@@ -1616,3 +1616,8 @@ /**

script.setAttribute('data-require-id', moduleId);
script.src = toUrl(moduleId + '.js');
// 这里添加一个时间戳,目的是在每次更新后,能够保证debug里面可以加载一个新的文件,保证修改内容同步
// 不加会有不同步的问题
// by tangguangyao
var timestamp = (new Date()).getTime();
script.src = toUrl(moduleId + '.js?v=' + timestamp);
script.async = true;

@@ -1619,0 +1624,0 @@ if (script.readyState) {

@@ -8,2 +8,16 @@ # EHU(esl-hot-update)

## 快速使用(FCFE同学参考)
* /nirvana-workspace *
> npm install -g ehu(mac下需要sudo,windows下需要管理员权限)
> 在原来执行edp webserver start命令的路径 执行 ehu(不再需要执行 edp webserver start)
> 原来端口号8848修改为8844(原8848依旧可以使用,但不支持热更新)
* /chunhua-workspace及其他项目 参考配置 *
# 高级使用
## 安装

@@ -40,2 +54,6 @@

> 访问新的地址 http://127.0.0.1:8844(默认端口号8844)
*特别说明:启动ehu后,原来的服务完全不受影响,如原来是8848端口,现在仍旧可以正常访问。*
### 手动启动默认web server

@@ -42,0 +60,0 @@

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