Skip to content

Commit

Permalink
Attempt to fix chronically failing spec
Browse files Browse the repository at this point in the history
I _think_ this is happening because we're not waiting for the watcher to start. `nsfw` goes async when the watcher is created _and_ when it's started.
  • Loading branch information
savetheclocktower committed Dec 1, 2024
1 parent d22fb37 commit 264c550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports = class ConfigFile {
this.requestLoad();
}
})
watcher.start();
await watcher.start();
return { dispose: () => watcher.stop() };
} catch (error) {
//TODO_PULSAR: Find out why the atom global variable isn't available at this point
Expand Down

0 comments on commit 264c550

Please sign in to comment.