pull/3348/head
yann300 2 years ago committed by Aniket
parent c95e7977e7
commit 01dd17aaa8
  1. 2
      libs/remix-ui/workspace/src/lib/actions/events.ts
  2. 2
      libs/remixd/src/services/remixdClient.ts

@ -108,7 +108,7 @@ export const listenOnProviderEvents = (provider) => (reducerDispatch: React.Disp
dispatch(loadLocalhostRequest())
})
provider.event.on('fileExternallyChanged', (path: string, content: string) => {
provider.event.on('fileExternallyChanged', (path: string, content: string) => {
const config = plugin.registry.get('config').api
const editor = plugin.registry.get('editor').api

@ -267,7 +267,7 @@ export class RemixdClient extends PluginClient {
const newContent = fs.readFileSync(f)
if (currentContent !== newContent && this.isLoaded) {
this.emit('changed', utils.relativePath(f, this.currentSharedFolder))
}
}
})
this.watcher.on('unlink', async (f: string) => {
if (this.isLoaded) {

Loading…
Cancel
Save