We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--hot-only
--hot only
1 parent 728effc commit 1dde662Copy full SHA for 1dde662
bin/cli-flags.js
@@ -55,15 +55,6 @@ module.exports = {
55
delete opts.clientProgress;
56
},
57
58
- {
59
- name: 'hot-only',
60
- type: Boolean,
61
- description: 'Do not refresh page if HMR fails.',
62
- processor(opts) {
63
- opts.hot = 'only';
64
- delete opts.hotOnly;
65
- },
66
67
{
68
name: 'setup-exit-signals',
69
type: Boolean,
test/cli/cli.test.js
@@ -26,8 +26,9 @@ describe('CLI', () => {
26
.catch(done);
27
});
28
29
- it('--hot-only', (done) => {
30
- testBin('--hot-only')
+ // Enable after new webpack-cli release
+ it.skip('--hot only', (done) => {
31
+ testBin('--hot only')
32
.then((output) => {
33
expect(output.exitCode).toEqual(0);
34
expect(output.stdout).toContain('/hot/only-dev-server');
0 commit comments