mirror of https://github.com/tauri-apps/tauri
Fix/cli (#47)
* 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:
parent
95878fdf47
commit
5968682536
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue