Skip to content

Commit

Permalink
Release 3.0.0 (#11)
Browse files Browse the repository at this point in the history
### Changes [electron-reload v2.0.0-alpha.1][] ... [@millyc/electron-reload v3.0.0][]
- Initial release of `@millyc/electron-reload` package.
- Forked from [electron-reload v2.0.0-alpha.1][].
- Update dependencies.
- Fix yan-foto#110: Changed `electronArgv` and `appArgv` types to array.
- Fix yan-foto#114: Allow readonly string array in `glob`.
- Fix #4: Add JSDoc to `electronReload()`.
- Fix #9: Support webpack.

[electron-reload v2.0.0-alpha.1]: https://github.com/yan-foto/electron-reload/tree/v2.0.0-alpha.1
[@millyc/electron-reload v3.0.0]: https://github.com/Milly/electron-reload/tree/v3.0.0
  • Loading branch information
Milly authored Apr 21, 2023
2 parents 7118f01 + 130bbc7 commit afd69ac
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Just initialize this module with desired glob or file path to watch and let it r

const {app, BrowserWindow} = require('electron');

const electronReload = require('electron-reload');
const electronReload = require('@millyc/electron-reload');

// Standard stuff
app.on('ready', () => {
Expand All @@ -45,7 +45,7 @@ If your app overrides some of the default `quit` or `close` actions (e.g. closin
```js
const path = require('path');

require('electron-reload')(__dirname, {
require('@millyc/electron-reload')(__dirname, {
electron: path.join(__dirname, 'node_modules', '.bin', 'electron'),
hardResetMethod: 'exit',
});
Expand All @@ -70,10 +70,12 @@ Simply put, I was tired and confused by all other available modules which are so
\* *e.g. start a local HTTP server, publish change events through a WebSocket, etc.!*

# Changelog
- **3.0.0**:
- Initial release of `@millyc/electron-reload` package.
- Forked from [electron-reload v2.0.0-alpha.1](https://github.com/yan-foto/electron-reload/tree/v2.0.0-alpha.1).
- Update dependencies.
- Fix yan-foto/electron-reload#110: Changed `electronArgv` and `appArgv` types to array.
- Fix yan-foto/electron-reload#114: Allow readonly string array in `glob`.
- Fix #4: Add JSDoc to `electronReload()`.
- **3.0.0**:
- Fix #9: Support webpack.
- **3.0.0-alpha.0**:
- Initial release of `@millyc/electron-reload` package.
- Forked from [electron-reload v2.0.0-alpha.1](https://github.com/yan-foto/electron-reload/tree/v2.0.0-alpha.1).
- Update dependencies.
- Fix yan-foto/electron-reload#110: Changed `electronArgv` and `appArgv` types to array.
- Fix yan-foto/electron-reload#114: Allow readonly string array in `glob`.
- Fix #4: Add JSDoc to `electronReload()`.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"name": "@millyc/electron-reload",
"version": "3.0.0-alpha.0",
"version": "3.0.0",
"description": "Simplest way to reload an electron app on file changes!",
"main": "main.js",
"types": "./types/main.d.ts",
"scripts": {
"lint": "standard",
"lint:fix": "standard --fix"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/Milly/electron-reload.git"
Expand Down

0 comments on commit afd69ac

Please sign in to comment.