Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit dd568be

Browse files
committed
make date format compatible for hot relooad in different operating systems
1 parent 277399f commit dd568be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HotReload/FSEventParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
class FSEventParser
1111
{
12-
protected const REGEX = '/^([\S+]{3}\s+[\S+]{3}\s+[\d+]{1,2}\s+[\d+]{2}:[\d+]{2}:{0,2}:[\d+]{2}:{0,2}\s+[\d+]{0,4})\s*(\/[\S+]*)\s+([\S+*\s+]*)/mi';
12+
protected const REGEX = '/^([\S+]{3}\s+[^\/]*)\s(\/[\S+]*)\s+([\S+*\s+]*)/mi';
1313

1414
protected const DATE = 1;
1515
protected const PATH = 2;

0 commit comments

Comments
 (0)