Skip to content

Commit

Permalink
Fix/cli (tauri-apps#47)
Browse files Browse the repository at this point in the history
* fix(cli): watch tauri.conf.js

* fix(cli): use window.external

* fix(naming): purge cruft

* fix(watcher): use appDir not tauriDir
  • Loading branch information
nothingismagick authored and DeepInThought committed Dec 29, 2019
1 parent 6ad467b commit 105cf0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mode/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const
log = require('./helpers/logger')('app:tauri'),
onShutdown = require('./helpers/on-shutdown'),
generator = require('./generator'),
{ tauriDir } = require('./helpers/app-paths')
{ appDir, tauriDir } = require('./helpers/app-paths')

class Runner {
constructor() {
Expand Down Expand Up @@ -56,7 +56,7 @@ class Runner {
path.join(tauriDir, 'src'),
path.join(tauriDir, 'Cargo.toml'),
path.join(tauriDir, 'build.rs'),
path.join(tauriDir, 'tauri.conf.js')
path.join(appDir, 'tauri.conf.js')
], {
watchers: {
chokidar: {
Expand Down

0 comments on commit 105cf0d

Please sign in to comment.