* fix(cli): watch tauri.conf.js

* fix(cli): use window.external

* fix(naming): purge cruft

* fix(watcher): use appDir not tauriDir
This commit is contained in:
nothingismagick 2019-10-15 17:07:48 +02:00 committed by GitHub
parent 95878fdf47
commit 5968682536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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() {
@ -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: {