-
Notifications
You must be signed in to change notification settings - Fork 5
Snippets
Tomer Lichtash edited this page Dec 5, 2022
·
3 revisions
// substitute in node_modules\jest-util\build\tryRealpath.js
function tryRealpath(path) {
try {
if (path && /[\\\/]temp/i.test) {
return path;
}
path = _gracefulFs().realpathSync.native(path);
} catch (error) {
if (error.code !== 'ENOENT') {
throw error;
}
}
}
#!/usr/bin/bash
CSS_SRC=src/components/layout/layout.st.css
cp -f $CSS_SRC /tmp
echo "" >> $CSS_SRC
echo '.dummy { color: red; }' >> $CSS_SRC
sleep 2
cp -f /tmp/layout.st.css $CSS_SRC
echo "Touched $CSS_SRC"