We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e4dbd2 commit d4f6e2cCopy full SHA for d4f6e2c
src/index.ts
@@ -134,13 +134,21 @@ export default function laravel(config: string|string[]|PluginConfig): LaravelPl
134
if (fs.existsSync(hotFile)) {
135
fs.rmSync(hotFile)
136
}
137
- process.exit()
138
139
140
process.on('exit', clean)
141
- process.on('SIGHUP', clean)
142
- process.on('SIGINT', clean)
143
- process.on('SIGTERM', clean)
+ process.on('SIGHUP', () => {
+ clean()
+ process.exit()
+ })
144
+ process.on('SIGINT', () => {
145
146
147
148
+ process.on('SIGTERM', () => {
149
150
151
152
},
153
154
// The following two hooks are a workaround to help solve a "flash of unstyled content" with Blade.
0 commit comments