Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enables hot reload #413

Merged
merged 9 commits into from
Mar 24, 2019
Merged

Enables hot reload #413

merged 9 commits into from
Mar 24, 2019

Conversation

PKief
Copy link
Member

@PKief PKief commented Mar 18, 2019

Enables hot reload for some configurations of this extension. That means that a change of these configurations does not require a reload of the whole editor anymore. The changes will be visible immediately.

Hot reload will be possible for the following configurations:

  • activeIconPack
  • files.associations
  • folders.associations
  • languages.associations
  • folders.theme

Closes #249.

PKief added 8 commits March 9, 2019 21:35
- usage of async / await
- improved readability of the code
- console.error instead of console.log
Not all changes of the icons configuration do require a reload of the whole editor anymore.
@PKief PKief self-assigned this Mar 18, 2019
@PKief PKief added the enhancement Enhancement label Mar 18, 2019
icons/folder-root-open.svg

src/scripts/preview/*.html
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put a new‑line at the end of the file?

"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: build"
"preLaunchTask": "npm: test-compile"
}
]
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

yarn.lock
webpack.config.js
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

"include": [
"src/**/*.ts",
"./node_modules/vscode/vscode.d.ts",
"./node_modules/vscode/lib/*",
]
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

}
};

module.exports = config;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@PKief PKief merged commit 79103d4 into master Mar 24, 2019
@PKief PKief deleted the hot-reload branch March 24, 2019 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants