Skip to content

Commit

Permalink
Rename dev flags
Browse files Browse the repository at this point in the history
  • Loading branch information
shalithasuranga committed Dec 11, 2021
1 parent f24501b commit 79dc015
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rename `Unreleased` topic with the new version tag. Finally, create a new `Unrel
- Extension API functions. Queue messages dispatched to extensions and send when the extension is ready.

### Core: Init
- Reload app based on `--neudev-cli-auto-reload` (`--debug-mode` removed) with the `neuDev_reloadApp` event.
- Reload app based on `--neu-dev-auto-reload` (`--debug-mode` removed) with the `neuDev_reloadApp` event.

### API: window.create
- Return process information with the promise.
Expand Down
2 changes: 1 addition & 1 deletion src/api/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function init() {

websocket.init();

if(window.NL_ARGS.find((arg) => arg == '--neudev-cli-auto-reload')) {
if(window.NL_ARGS.find((arg) => arg == '--neu-dev-auto-reload')) {
Neutralino.events.on('neuDev_reloadApp', async () => {
await Neutralino.debug.log('Reloading the application...');
location.reload();
Expand Down

0 comments on commit 79dc015

Please sign in to comment.